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

Unified Diff: Source/core/frame/LocalFrame.cpp

Issue 520213002: Make SecurityContext available in RemoteFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/core/frame/LocalFrame.cpp
diff --git a/Source/core/frame/LocalFrame.cpp b/Source/core/frame/LocalFrame.cpp
index 12bb49b85fc5f79348562943e4c7cc491071d970..2437b5a647595da008b3dbf7a78e279e257f32b6 100644
--- a/Source/core/frame/LocalFrame.cpp
+++ b/Source/core/frame/LocalFrame.cpp
@@ -281,6 +281,11 @@ void LocalFrame::detach()
#endif
}
+SecurityContext* LocalFrame::securityContext() const
+{
+ return document();
+}
+
void LocalFrame::disconnectOwnerElement()
{
if (owner()) {

Powered by Google App Engine
This is Rietveld 408576698