Index: third_party/WebKit/Source/core/dom/DocumentTest.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DocumentTest.cpp b/third_party/WebKit/Source/core/dom/DocumentTest.cpp |
index 92e628c238e4023bb291dafafe0b062823f8a596..bbd4b515d2a39f12bd21e9e5573d4638e8145e1a 100644 |
--- a/third_party/WebKit/Source/core/dom/DocumentTest.cpp |
+++ b/third_party/WebKit/Source/core/dom/DocumentTest.cpp |
@@ -709,7 +709,7 @@ TEST_F(DocumentTest, ValidationMessageCleanup) { |
// implicitOpen()-implicitClose() makes Document.loadEventFinished() |
// true. It's necessary to kick unload process. |
GetDocument().ImplicitOpen(kForceSynchronousParsing); |
- GetDocument().ImplicitClose(); |
+ GetDocument().CheckCompleted(); |
GetDocument().AppendChild(GetDocument().createElement("html")); |
SetHtmlInnerHTML("<body><input required></body>"); |
Element* script = GetDocument().createElement("script"); |