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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 520213002: Make SecurityContext available in RemoteFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review feedback from Daniel, expose securityOrigin() from WebFrame Created 6 years, 1 month 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: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index 94160cea88cd196c5893879df6e20943eaea45e5..cab01937544ccce549678f8691e6e9eb6b5ec0e9 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -576,6 +576,11 @@ void WebLocalFrameImpl::setSharedWorkerRepositoryClient(WebSharedWorkerRepositor
m_sharedWorkerRepositoryClient = SharedWorkerRepositoryClientImpl::create(client);
}
+WebSecurityOrigin WebLocalFrameImpl::securityOrigin() const
+{
+ return document().securityOrigin();
+}
+
WebSize WebLocalFrameImpl::scrollOffset() const
{
FrameView* view = frameView();

Powered by Google App Engine
This is Rietveld 408576698