Index: third_party/WebKit/Source/core/html/HTMLFormControlElementTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElementTest.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElementTest.cpp |
index 1f9acf5e67de34fd4a931f098d3a0fe84ebc350d..0433b8c1ba264a884e3c4052c455c34a137094e7 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElementTest.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElementTest.cpp |
@@ -4,8 +4,8 @@ |
#include "core/html/HTMLFormControlElement.h" |
+#include "core/dom/Document.h" |
#include "core/frame/FrameView.h" |
-#include "core/html/HTMLDocument.h" |
#include "core/html/HTMLInputElement.h" |
#include "core/layout/LayoutObject.h" |
#include "core/loader/EmptyClients.h" |
@@ -20,11 +20,11 @@ protected: |
void SetUp() override; |
DummyPageHolder& page() const { return *m_dummyPageHolder; } |
- HTMLDocument& document() const { return *m_document; } |
+ Document& document() const { return *m_document; } |
private: |
std::unique_ptr<DummyPageHolder> m_dummyPageHolder; |
- Persistent<HTMLDocument> m_document; |
+ Persistent<Document> m_document; |
}; |
void HTMLFormControlElementTest::SetUp() |
@@ -33,7 +33,7 @@ void HTMLFormControlElementTest::SetUp() |
fillWithEmptyClients(pageClients); |
m_dummyPageHolder = DummyPageHolder::create(IntSize(800, 600), &pageClients); |
- m_document = toHTMLDocument(&m_dummyPageHolder->document()); |
+ m_document = &m_dummyPageHolder->document(); |
m_document->setMimeType("text/html"); |
} |