| Index: third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| index 7f1ffe7bdb4a25b2c30a1331189ea63864997872..71af8a435ef59dee6007019bb61944de5ef6dcdd 100644
|
| --- a/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp
|
| @@ -437,6 +437,8 @@ TEST(RemoteFrameThrottlingTest, ThrottledLocalRoot)
|
| WebFrameOwnerProperties properties;
|
| WebRemoteFrame* rootFrame = webView->mainFrame()->toWebRemoteFrame();
|
| WebLocalFrame* localFrame = FrameTestHelpers::createLocalChild(rootFrame);
|
| + FrameTestHelpers::TestWebWidgetClient widgetClient;
|
| + WebWidget* widget = WebFrameWidget::create(&widgetClient, localFrame);
|
|
|
| WebString baseURL("http://internal.test/");
|
| URLTestHelpers::registerMockedURLFromBaseURL(baseURL, "simple_div.html");
|
| @@ -466,6 +468,7 @@ TEST(RemoteFrameThrottlingTest, ThrottledLocalRoot)
|
| frameView->updateAllLifecyclePhases();
|
| testing::runPendingTasks();
|
| EXPECT_EQ(DocumentLifecycle::VisualUpdatePending, frameDocument->lifecycle().state());
|
| + widget->close();
|
| webView->close();
|
| }
|
|
|
|
|