Index: Source/core/frame/RemoteFrame.cpp |
diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp |
index 1b0e04e5b191d34055b23181db1a5b72f3ec9ea7..1e5113d7d258276b06c16ccee30e7f4c5152d9f1 100644 |
--- a/Source/core/frame/RemoteFrame.cpp |
+++ b/Source/core/frame/RemoteFrame.cpp |
@@ -5,6 +5,7 @@ |
#include "config.h" |
#include "core/frame/RemoteFrame.h" |
+#include "core/dom/RemoteSecurityContext.h" |
#include "core/frame/RemoteFrameClient.h" |
#include "core/frame/RemoteFrameView.h" |
#include "core/html/HTMLFrameOwnerElement.h" |
@@ -14,6 +15,7 @@ namespace blink { |
inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner) |
: Frame(client, host, owner) |
+ , m_securityContext(RemoteSecurityContext::create()) |
{ |
} |
@@ -50,6 +52,11 @@ void RemoteFrame::detach() |
Frame::detach(); |
} |
+RemoteSecurityContext* RemoteFrame::securityContext() const |
+{ |
+ return m_securityContext.get(); |
+} |
+ |
void RemoteFrame::forwardInputEvent(Event* event) |
{ |
remoteFrameClient()->forwardInputEvent(event); |