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

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: Sanitize report endpoints from IPC against actual CSP contents. 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 991c9ae52001eaa38724c7fa075fbd0fbbae0854..902f7a0105e7f101a0e6ad6be7ef36b339308262 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)
« no previous file with comments | « third_party/WebKit/Source/core/dom/RemoteSecurityContext.cpp ('k') | third_party/WebKit/Source/core/frame/RemoteFrameClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698