Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: third_party/WebKit/Source/core/frame/RemoteFrame.cpp

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove no longer applicable TODO and early exit from reportViolation method. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/RemoteFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
index 0c3c253a18989c5009bb8b7096b5c7f0d5847f40..f3bd4d80d1f297cb4d9d99d8e758051dc6debf2e 100644
--- a/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteFrame.cpp
@@ -27,7 +27,7 @@ namespace blink {
inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner)
: Frame(client, host, owner)
, m_view(nullptr)
- , m_securityContext(RemoteSecurityContext::create())
+ , m_securityContext(RemoteSecurityContext::create(client))
, m_domWindow(RemoteDOMWindow::create(*this))
, m_windowProxyManager(WindowProxyManager::create(*this))
, m_remotePlatformLayer(nullptr)

Powered by Google App Engine
This is Rietveld 408576698