| Index: third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebViewTest.cpp b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| index 7c637ec32c45d8668e4b54f6f127da452f07bedf..acc11e5653bb5934e8583f1db75c1cf03e59da8c 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebViewTest.cpp
|
| @@ -2214,6 +2214,10 @@ TEST_F(WebViewTest, ChangeDisplayMode)
|
| EXPECT_EQ("regular-ui", content);
|
|
|
| webView->setDisplayMode(WebDisplayModeMinimalUi);
|
| +
|
| + // Required to see any updates in dumpFrameTreeAsText.
|
| + m_webViewHelper.webView()->updateAllLifecyclePhases();
|
| +
|
| content = WebFrameContentDumper::dumpFrameTreeAsText(webView->mainFrame()->toWebLocalFrame(), 21).utf8();
|
| EXPECT_EQ("minimal-ui", content);
|
| m_webViewHelper.reset();
|
|
|