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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.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_proxy_host.cc
diff --git a/content/browser/frame_host/render_frame_proxy_host.cc b/content/browser/frame_host/render_frame_proxy_host.cc
index 55e30ef9b6b17558389dfb82ebb430d1474c6c44..63be6ebbcc661af2c504d123b99cdc111c002216 100644
--- a/content/browser/frame_host/render_frame_proxy_host.cc
+++ b/content/browser/frame_host/render_frame_proxy_host.cc
@@ -195,14 +195,13 @@ bool RenderFrameProxyHost::InitRenderFrameProxy() {
render_frame_proxy_created_ = true;
- // For subframes, initialize the proxy's WebFrameOwnerProperties only if they
+ // For subframes, initialize the proxy's FrameOwnerProperties only if they
// differ from default values.
- bool should_send_properties = frame_tree_node_->frame_owner_properties() !=
- blink::WebFrameOwnerProperties();
+ bool should_send_properties =
+ frame_tree_node_->frame_owner_properties() != FrameOwnerProperties();
if (frame_tree_node_->parent() && should_send_properties) {
Send(new FrameMsg_SetFrameOwnerProperties(
- routing_id_,
- FrameOwnerProperties(frame_tree_node_->frame_owner_properties())));
+ routing_id_, frame_tree_node_->frame_owner_properties()));
}
return true;
« no previous file with comments | « content/browser/frame_host/render_frame_message_filter.cc ('k') | content/browser/site_per_process_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698