Index: Source/web/WebRemoteFrameImpl.cpp |
diff --git a/Source/web/WebRemoteFrameImpl.cpp b/Source/web/WebRemoteFrameImpl.cpp |
index 8a00aaaa9f803a3a726ba6539b64e11182f71c48..7b1e7576cdf384170a226d50505a9be8f40c6a95 100644 |
--- a/Source/web/WebRemoteFrameImpl.cpp |
+++ b/Source/web/WebRemoteFrameImpl.cpp |
@@ -849,4 +849,15 @@ void WebRemoteFrameImpl::initializeFromFrame(WebLocalFrame* source) const |
localFrameImpl->frame()->view()->visibleContentScaleFactor()); |
} |
+WebSecurityOrigin WebRemoteFrameImpl::securityOrigin() const |
+{ |
+ return WebSecurityOrigin(frame()->securityContext()->securityOrigin()); |
+} |
+ |
+void WebRemoteFrameImpl::setReplicatedOrigin(const WebSecurityOrigin& origin) const |
+{ |
+ ASSERT(frame()); |
+ frame()->securityContext()->setReplicatedOrigin(origin); |
+} |
+ |
} // namespace blink |