Index: Source/web/WebDOMMessageEvent.cpp |
diff --git a/Source/web/WebDOMMessageEvent.cpp b/Source/web/WebDOMMessageEvent.cpp |
index ad76f7f0b5379341bc60a5d5d4e99dfb7eb91fc4..d6209506a4e9befeeef1736c12b0b97080d1da84 100644 |
--- a/Source/web/WebDOMMessageEvent.cpp |
+++ b/Source/web/WebDOMMessageEvent.cpp |
@@ -32,7 +32,7 @@ |
#include "WebDOMMessageEvent.h" |
#include "WebFrame.h" |
-#include "WebFrameImpl.h" |
+#include "WebLocalFrameImpl.h" |
#include "WebSerializedScriptValue.h" |
#include "bindings/v8/SerializedScriptValue.h" |
#include "core/dom/Document.h" |
@@ -51,7 +51,7 @@ void WebDOMMessageEvent::initMessageEvent(const WebString& type, bool canBubble, |
ASSERT(isMessageEvent()); |
DOMWindow* window = 0; |
if (sourceFrame) |
- window = toWebFrameImpl(sourceFrame)->frame()->domWindow(); |
+ window = toWebLocalFrameImpl(sourceFrame)->frame()->domWindow(); |
OwnPtr<MessagePortArray> ports; |
if (sourceFrame) |
ports = MessagePort::toMessagePortArray(window->document(), webChannels); |