Index: third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
index 7bc48f4f0c6365122643e36ce37679c446fc6df7..b404b6da61d478de48b9b772c42ddbf12d2f65d6 100644 |
--- a/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/VisualViewportTest.cpp |
@@ -4,6 +4,8 @@ |
#include "core/frame/VisualViewport.h" |
+#include <memory> |
+ |
#include "core/dom/Document.h" |
#include "core/frame/BrowserControls.h" |
#include "core/frame/FrameTestHelpers.h" |
@@ -1876,7 +1878,7 @@ TEST_P(VisualViewportTest, AccessibilityHitTestWhileZoomedIn) { |
WebViewImpl()->Resize(IntSize(500, 500)); |
WebViewImpl()->UpdateAllLifecyclePhases(); |
- WebDocument web_doc = WebViewImpl()->MainFrame()->GetDocument(); |
+ WebDocument web_doc = WebViewImpl()->MainFrameImpl()->GetDocument(); |
LocalFrameView& frame_view = *WebViewImpl()->MainFrameImpl()->GetFrameView(); |
WebViewImpl()->SetPageScaleFactor(2); |