Index: Source/web/tests/CustomEventTest.cpp |
diff --git a/Source/web/tests/CustomEventTest.cpp b/Source/web/tests/CustomEventTest.cpp |
index a1defb5f8eb322c92957b9cb503ebb9fbe98ae22..c07e8018bcfeb9a7117d4c0ed55da0e3b0bd10da 100644 |
--- a/Source/web/tests/CustomEventTest.cpp |
+++ b/Source/web/tests/CustomEventTest.cpp |
@@ -34,7 +34,7 @@ |
#include "URLTestHelpers.h" |
#include "V8Event.h" |
#include "WebFrame.h" |
-#include "WebFrameImpl.h" |
+#include "WebLocalFrameImpl.h" |
#include "WebView.h" |
#include "WebViewImpl.h" |
#include "bindings/v8/ExceptionStatePlaceholder.h" |
@@ -103,7 +103,7 @@ TEST(CustomEventTest, InitWithSerializedScriptValue) |
URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8(path.c_str())); |
FrameTestHelpers::WebViewHelper webViewHelper; |
- WebFrameImpl* frame = toWebFrameImpl(webViewHelper.initializeAndLoad(baseURL + path)->mainFrame()); |
+ WebLocalFrameImpl* frame = toWebLocalFrameImpl(webViewHelper.initializeAndLoad(baseURL + path)->mainFrame()); |
WebDOMEvent event = frame->frame()->document()->createEvent("CustomEvent", IGNORE_EXCEPTION); |
WebDOMCustomEvent customEvent = event.to<WebDOMCustomEvent>(); |