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

Unified Diff: content/renderer/render_frame_proxy.cc

Issue 2146803004: Create a content::FrameOwnerProperties struct for IPC transport of WebFrameOwnerProperties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Transport 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/renderer/render_frame_proxy.cc
diff --git a/content/renderer/render_frame_proxy.cc b/content/renderer/render_frame_proxy.cc
index 344692b73b2ca83f6f410634d0472bd289551714..d25f170c488f5405f9daa2ac366fae829cd8482e 100644
--- a/content/renderer/render_frame_proxy.cc
+++ b/content/renderer/render_frame_proxy.cc
@@ -14,6 +14,7 @@
#include "content/child/webmessageportchannel_impl.h"
#include "content/common/content_security_policy_header.h"
#include "content/common/frame_messages.h"
+#include "content/common/frame_owner_properties.h"
#include "content/common/frame_replication_state.h"
#include "content/common/input_messages.h"
#include "content/common/page_messages.h"
@@ -357,8 +358,8 @@ void RenderFrameProxy::OnEnforceInsecureRequestPolicy(
}
void RenderFrameProxy::OnSetFrameOwnerProperties(
- const blink::WebFrameOwnerProperties& properties) {
- web_frame_->setFrameOwnerProperties(properties);
+ const FrameOwnerProperties& properties) {
+ web_frame_->setFrameOwnerProperties(properties.ToWebFrameOwnerProperties());
}
void RenderFrameProxy::OnDidUpdateOrigin(

Powered by Google App Engine
This is Rietveld 408576698