Files
brave-core/patches/content-browser-renderer_host-clipboard_host_impl.cc.patch
T

13 lines
637 B
Diff

diff --git a/content/browser/renderer_host/clipboard_host_impl.cc b/content/browser/renderer_host/clipboard_host_impl.cc
index 3bba065f99e93efc3089a0714c757984e60aa5cd..9b074083ff49a973879cf9899fb6c28dc6a5d628 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(),
{