| 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 e3e716d68154a17c953a6a5ddf46ceba47c8ca96..40e2cf366562ca80a42c05243a4a5568f91e345b 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();
|
|
|