Index: third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp b/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
index 8f431d657ebf3a89f56bb5f3f54b82cf94187201..618cce99a0a5b079c6a712ff37383e102536f546 100644 |
--- a/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebDocumentTest.cpp |
@@ -4,12 +4,15 @@ |
#include "public/web/WebDocument.h" |
+#include <string> |
+ |
#include "core/CSSPropertyNames.h" |
#include "core/HTMLNames.h" |
#include "core/dom/NodeComputedStyle.h" |
#include "core/dom/StyleEngine.h" |
#include "core/frame/FrameTestHelpers.h" |
#include "core/frame/LocalFrame.h" |
+#include "core/frame/WebLocalFrameBase.h" |
#include "core/html/HTMLElement.h" |
#include "core/html/HTMLLinkElement.h" |
#include "core/page/Page.h" |
@@ -57,7 +60,7 @@ Document* WebDocumentTest::TopDocument() const { |
} |
WebDocument WebDocumentTest::TopWebDocument() const { |
- return web_view_helper_.WebView()->MainFrame()->GetDocument(); |
+ return web_view_helper_.WebView()->MainFrameImpl()->GetDocument(); |
} |
TEST_F(WebDocumentTest, InsertAndRemoveStyleSheet) { |