Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
index 4fc20e1712723d26d0e3d1a352c04779a5c96f71..4c9062b5cf26e8d1d54ec8baaeba30abedab6a72 100644 |
--- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp |
@@ -695,6 +695,14 @@ void WebRemoteFrameImpl::setReplicatedShouldEnforceStrictMixedContentChecking(bo |
frame()->securityContext()->setShouldEnforceStrictMixedContentChecking(shouldEnforce); |
} |
+void WebRemoteFrameImpl::setReplicatedPotentiallyTrustworthyUniqueOrigin(bool isUniqueOriginPotentiallyTrustworthy) const |
+{ |
+ ASSERT(frame()); |
+ // If |isUniqueOriginPotentiallyTrustworthy| is true, then the origin must be unique. |
+ ASSERT(!isUniqueOriginPotentiallyTrustworthy || frame()->securityContext()->securityOrigin()->isUnique()); |
+ frame()->securityContext()->securityOrigin()->setUniqueOriginIsPotentiallyTrustworthy(isUniqueOriginPotentiallyTrustworthy); |
+} |
+ |
void WebRemoteFrameImpl::DispatchLoadEventForFrameOwner() const |
{ |
ASSERT(frame()->owner()->isLocal()); |