Index: Source/core/frame/RemoteFrame.cpp |
diff --git a/Source/core/frame/RemoteFrame.cpp b/Source/core/frame/RemoteFrame.cpp |
index 1b0e04e5b191d34055b23181db1a5b72f3ec9ea7..69c59e05d15ec087ac68523d0fb40bb7128b64e2 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" |
@@ -15,6 +16,7 @@ namespace blink { |
inline RemoteFrame::RemoteFrame(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner) |
: Frame(client, host, owner) |
{ |
+ m_securityContext = RemoteSecurityContext::create(); |
dcheng
2014/11/18 23:31:40
Nit: move this into the initializer list.
alexmos
2014/11/19 00:33:04
Done.
|
} |
PassRefPtrWillBeRawPtr<RemoteFrame> RemoteFrame::create(RemoteFrameClient* client, FrameHost* host, FrameOwner* owner) |
@@ -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); |