| Index: third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ViewportTest.cpp b/third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| index 7f9d74e892857f764422f850775cdef497202cea..7a8550e1024cd00f033d831a5986452712ee3cc0 100644
|
| --- a/third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ViewportTest.cpp
|
| @@ -2882,7 +2882,7 @@ TEST_F(ViewportTest, viewportLegacyXHTMLMPRemoveAndAdd) {
|
| EXPECT_NEAR(5.0f, constraints.maximum_scale, 0.01f);
|
| EXPECT_TRUE(page->GetViewportDescription().user_zoom);
|
|
|
| - ExecuteScript(web_view_helper.WebView()->MainFrameImpl(),
|
| + ExecuteScript(web_view_helper.LocalMainFrame(),
|
| "originalDoctype = document.doctype;"
|
| "document.removeChild(originalDoctype);");
|
|
|
| @@ -2895,7 +2895,7 @@ TEST_F(ViewportTest, viewportLegacyXHTMLMPRemoveAndAdd) {
|
| EXPECT_NEAR(5.0f, constraints.maximum_scale, 0.01f);
|
| EXPECT_TRUE(page->GetViewportDescription().user_zoom);
|
|
|
| - ExecuteScript(web_view_helper.WebView()->MainFrameImpl(),
|
| + ExecuteScript(web_view_helper.LocalMainFrame(),
|
| "document.insertBefore(originalDoctype, document.firstChild);");
|
|
|
| constraints = RunViewportTest(page, 320, 352);
|
|
|