| Index: Source/web/RemoteFrameClient.cpp
|
| diff --git a/Source/web/RemoteFrameClient.cpp b/Source/web/RemoteFrameClient.cpp
|
| index 96325544cce8a77ad51fea828b737d851c1e9d93..ff9d6a1fee986d103d4348c9e8cc5878709b5384 100644
|
| --- a/Source/web/RemoteFrameClient.cpp
|
| +++ b/Source/web/RemoteFrameClient.cpp
|
| @@ -5,6 +5,8 @@
|
| #include "config.h"
|
| #include "web/RemoteFrameClient.h"
|
|
|
| +#include "platform/weborigin/SecurityOrigin.h"
|
| +#include "web/WebLocalFrameImpl.h"
|
| #include "web/WebRemoteFrameImpl.h"
|
|
|
| namespace blink {
|
| @@ -54,4 +56,12 @@ Frame* RemoteFrameClient::lastChild() const
|
| return toCoreFrame(m_webFrame->lastChild());
|
| }
|
|
|
| +bool RemoteFrameClient::willCheckAndDispatchMessageEvent(
|
| + SecurityOrigin* target, MessageEvent* event, LocalFrame* sourceFrame) const
|
| +{
|
| + if (m_webFrame->client())
|
| + m_webFrame->client()->postMessageEvent(WebLocalFrameImpl::fromFrame(sourceFrame), m_webFrame, WebSecurityOrigin(target), WebDOMMessageEvent(event));
|
| + return true;
|
| +}
|
| +
|
| } // namespace blink
|
|
|