Files
brave-core/patches/third_party-blink-renderer-core-loader-frame_fetch_context.cc.patch

13 lines
705 B
Diff

diff --git a/third_party/blink/renderer/core/loader/frame_fetch_context.cc b/third_party/blink/renderer/core/loader/frame_fetch_context.cc
index a459abf8bb66b19c2f66215760836ef62c9a544e..93ce4d1ba46c46f54c54b379311c875b6f87fe73 100644
--- a/third_party/blink/renderer/core/loader/frame_fetch_context.cc
+++ b/third_party/blink/renderer/core/loader/frame_fetch_context.cc
@@ -634,6 +634,7 @@ void FrameFetchContext::AddClientHintsIfNecessary(
// Check if |url| is allowed to run JavaScript. If not, client hints are not
// attached to the requests that initiate on the render side.
+ BRAVE_FRAME_FETCH_CONTEXT_ADD_CLIENT_HINTS_IF_NECESSARY
if (!GetFrame()->ScriptEnabled()) {
return;
}