13 lines
656 B
Diff
13 lines
656 B
Diff
diff --git a/content/browser/renderer_host/clipboard_host_impl.cc b/content/browser/renderer_host/clipboard_host_impl.cc
|
|
index 16cbeba780f0ccfcb941ff2aae7c76fa34701426..98a430d8485758001e1d7af1e6af6cb1f1874c13 100644
|
|
--- a/content/browser/renderer_host/clipboard_host_impl.cc
|
|
+++ b/content/browser/renderer_host/clipboard_host_impl.cc
|
|
@@ -552,6 +552,7 @@ void ClipboardHostImpl::WriteText(const std::u16string& text) {
|
|
ClipboardPasteData data;
|
|
data.text = text;
|
|
++pending_writes_;
|
|
+ BRAVE_CLIPBOARD_HOST_IMPL_SANITIZE
|
|
GetContentClient()->browser()->IsClipboardCopyAllowedByPolicy(
|
|
CreateClipboardEndpoint(render_frame_host()),
|
|
{
|