| 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 6002eb4c9a681579c2da9dbe943feeaf2783e9f5..2c8158432782b24c3336bee3c8562bfcbd13061c 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentTest.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentTest.cpp
|
| @@ -727,10 +727,10 @@ TEST_F(DocumentTest, ValidationMessageCleanup) {
|
| MockValidationMessageClient* mock_client = new MockValidationMessageClient();
|
| GetDocument().GetSettings()->SetScriptEnabled(true);
|
| GetPage().SetValidationMessageClient(mock_client);
|
| - // implicitOpen()-implicitClose() makes Document.loadEventFinished()
|
| + // ImplicitOpen()-CancelParsing() makes Document.loadEventFinished()
|
| // true. It's necessary to kick unload process.
|
| GetDocument().ImplicitOpen(kForceSynchronousParsing);
|
| - GetDocument().ImplicitClose();
|
| + GetDocument().CancelParsing();
|
| GetDocument().AppendChild(GetDocument().createElement("html"));
|
| SetHtmlInnerHTML("<body><input required></body>");
|
| Element* script = GetDocument().createElement("script");
|
|
|