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