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

Unified Diff: content/browser/frame_host/render_frame_message_filter.cc

Issue 2156883002: Use content::FrameOwnerProperties instead of blink::WebFrameOwnerProperties in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-frame-owner-properties
Patch Set: Use this everywhere Created 4 years, 5 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: content/browser/frame_host/render_frame_message_filter.cc
diff --git a/content/browser/frame_host/render_frame_message_filter.cc b/content/browser/frame_host/render_frame_message_filter.cc
index 04ba974531dec632cff1077fb21861ec6f20d338..a1ccf839d0aead6e9b7e3f9efb59b597cec057f6 100644
--- a/content/browser/frame_host/render_frame_message_filter.cc
+++ b/content/browser/frame_host/render_frame_message_filter.cc
@@ -57,15 +57,14 @@ const int kPluginsRefreshThresholdInSeconds = 3;
const char kEnforceStrictSecureExperiment[] = "StrictSecureCookies";
-void CreateChildFrameOnUI(
- int process_id,
- int parent_routing_id,
- blink::WebTreeScopeType scope,
- const std::string& frame_name,
- const std::string& frame_unique_name,
- blink::WebSandboxFlags sandbox_flags,
- const blink::WebFrameOwnerProperties& frame_owner_properties,
- int new_routing_id) {
+void CreateChildFrameOnUI(int process_id,
+ int parent_routing_id,
+ blink::WebTreeScopeType scope,
+ const std::string& frame_name,
+ const std::string& frame_unique_name,
+ blink::WebSandboxFlags sandbox_flags,
+ const FrameOwnerProperties& frame_owner_properties,
+ int new_routing_id) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
RenderFrameHostImpl* render_frame_host =
RenderFrameHostImpl::FromID(process_id, parent_routing_id);
@@ -302,8 +301,7 @@ void RenderFrameMessageFilter::OnCreateChildFrame(
base::Bind(&CreateChildFrameOnUI, render_process_id_,
params.parent_routing_id, params.scope, params.frame_name,
params.frame_unique_name, params.sandbox_flags,
- params.frame_owner_properties.ToWebFrameOwnerProperties(),
- *new_routing_id));
+ params.frame_owner_properties, *new_routing_id));
}
void RenderFrameMessageFilter::OnSetCookie(int render_frame_id,
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.h ('k') | content/browser/frame_host/render_frame_proxy_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698