Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 621712eba762c597a3c04f315aa8afee9afe1be3..c0db42db705299a698e843fe2170614620582b44 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -53,6 +53,7 @@ |
#include "content/common/content_constants_internal.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/gpu/client/context_provider_command_buffer.h" |
#include "content/common/input_messages.h" |
@@ -176,6 +177,7 @@ |
#include "third_party/WebKit/public/web/WebConsoleMessage.h" |
#include "third_party/WebKit/public/web/WebDocument.h" |
#include "third_party/WebKit/public/web/WebFindOptions.h" |
+#include "third_party/WebKit/public/web/WebFrameOwnerProperties.h" |
#include "third_party/WebKit/public/web/WebFrameSerializer.h" |
#include "third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h" |
#include "third_party/WebKit/public/web/WebFrameWidget.h" |
@@ -2128,9 +2130,10 @@ void RenderFrameImpl::OnDidUpdateSandboxFlags(blink::WebSandboxFlags flags) { |
} |
void RenderFrameImpl::OnSetFrameOwnerProperties( |
- const blink::WebFrameOwnerProperties& frame_owner_properties) { |
+ const FrameOwnerProperties& frame_owner_properties) { |
DCHECK(frame_); |
- frame_->setFrameOwnerProperties(frame_owner_properties); |
+ frame_->setFrameOwnerProperties( |
+ frame_owner_properties.ToWebFrameOwnerProperties()); |
} |
void RenderFrameImpl::OnAdvanceFocus(blink::WebFocusType type, |
@@ -2796,7 +2799,7 @@ blink::WebFrame* RenderFrameImpl::createChildFrame( |
params.frame_unique_name = |
base::UTF16ToUTF8(base::StringPiece16(unique_name)); |
params.sandbox_flags = sandbox_flags; |
- params.frame_owner_properties = frame_owner_properties; |
+ params.frame_owner_properties = FrameOwnerProperties(frame_owner_properties); |
Send(new FrameHostMsg_CreateChildFrame(params, &child_routing_id)); |
// Allocation of routing id failed, so we can't create a child frame. This can |
@@ -2955,8 +2958,8 @@ void RenderFrameImpl::didChangeFrameOwnerProperties( |
blink::WebFrame* child_frame, |
const blink::WebFrameOwnerProperties& frame_owner_properties) { |
Send(new FrameHostMsg_DidChangeFrameOwnerProperties( |
- routing_id_, GetRoutingIdForFrameOrProxy(child_frame), |
- frame_owner_properties)); |
+ routing_id_, GetRoutingIdForFrameOrProxy(child_frame), |
+ FrameOwnerProperties(frame_owner_properties))); |
} |
void RenderFrameImpl::didMatchCSS( |