Index: content/renderer/render_frame_proxy.cc |
diff --git a/content/renderer/render_frame_proxy.cc b/content/renderer/render_frame_proxy.cc |
index d31dab2b826db77a1a7ec6217f4b896a9db97bd6..8f850941cf76d28c70454b186fc4c07579f8fa83 100644 |
--- a/content/renderer/render_frame_proxy.cc |
+++ b/content/renderer/render_frame_proxy.cc |
@@ -229,6 +229,8 @@ void RenderFrameProxy::SetReplicatedState(const FrameReplicationState& state) { |
blink::WebString::fromUTF8(state.unique_name)); |
web_frame_->setReplicatedShouldEnforceStrictMixedContentChecking( |
state.should_enforce_strict_mixed_content_checking); |
+ web_frame_->setReplicatedPotentiallyTrustworthyUniqueOrigin( |
+ state.has_potentially_trustworthy_unique_origin); |
} |
// Update the proxy's SecurityContext and FrameOwner with new sandbox flags |
@@ -366,8 +368,12 @@ void RenderFrameProxy::OnEnforceStrictMixedContentChecking( |
should_enforce); |
} |
-void RenderFrameProxy::OnDidUpdateOrigin(const url::Origin& origin) { |
+void RenderFrameProxy::OnDidUpdateOrigin( |
+ const url::Origin& origin, |
+ bool is_potentially_trustworthy_unique_origin) { |
web_frame_->setReplicatedOrigin(origin); |
+ web_frame_->setReplicatedPotentiallyTrustworthyUniqueOrigin( |
+ is_potentially_trustworthy_unique_origin); |
} |
void RenderFrameProxy::OnSetPageFocus(bool is_focused) { |