Index: Source/web/tests/WebFrameTest.cpp |
diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp |
index 9645e9a27015c80799f8db0fa0eee32abe8e5e3f..35555bf8e1e887459dde20c9057fe7d9667eae71 100644 |
--- a/Source/web/tests/WebFrameTest.cpp |
+++ b/Source/web/tests/WebFrameTest.cpp |
@@ -5042,9 +5042,9 @@ TEST_F(WebFrameTest, WebNodeImageContents) |
// EXPECT_EQ(bitmap.getColor(0, 0), SK_ColorBLUE); |
} |
-class TestStartStopCallbackWebViewClient : public WebViewClient { |
+class TestStartStopCallbackWebFrameClient : public WebFrameClient { |
public: |
- TestStartStopCallbackWebViewClient() |
+ TestStartStopCallbackWebFrameClient() |
: m_startLoadingCount(0) |
, m_stopLoadingCount(0) |
, m_differentDocumentStartCount(0) |
@@ -5076,9 +5076,9 @@ private: |
TEST_F(WebFrameTest, PushStateStartsAndStops) |
{ |
registerMockedHttpURLLoad("push_state.html"); |
- TestStartStopCallbackWebViewClient client; |
+ TestStartStopCallbackWebFrameClient client; |
FrameTestHelpers::WebViewHelper webViewHelper; |
- webViewHelper.initializeAndLoad(m_baseURL + "push_state.html", true, 0, &client); |
+ webViewHelper.initializeAndLoad(m_baseURL + "push_state.html", true, &client); |
runPendingTasks(); |
EXPECT_EQ(client.startLoadingCount(), 2); |