| Index: third_party/WebKit/Source/web/tests/TextFinderTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
|
| index 653ce703a2867f5885c578235e71203d790051a3..2bd97ee13c5590ac62ed1a3778a0eaf882ec3de8 100644
|
| --- a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp
|
| @@ -31,7 +31,10 @@ class TextFinderTest : public ::testing::Test {
|
| protected:
|
| TextFinderTest()
|
| {
|
| - m_webViewHelper.initialize();
|
| + // Explicitly navigate to about:blank to avoid operating on
|
| + // initial empty document.
|
| + m_webViewHelper.initializeAndLoad("about:blank");
|
| +
|
| WebLocalFrameImpl& frameImpl = *m_webViewHelper.webViewImpl()->mainFrameImpl();
|
| frameImpl.viewImpl()->resize(WebSize(640, 480));
|
| frameImpl.viewImpl()->updateAllLifecyclePhases();
|
|
|