| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 9e6b7c37f71635fba78318c06a7f27d988e7ba0e..7e13015e997d68e9a2d488863196987939bbfda7 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -6341,7 +6341,7 @@ Document& Document::EnsureTemplateDocument() {
|
| }
|
|
|
| void Document::DidAssociateFormControl(Element* element) {
|
| - if (!GetFrame() || !GetFrame()->GetPage() || !LoadEventFinished())
|
| + if (!GetFrame() || !GetFrame()->GetPage() || !HasFinishedParsing())
|
| return;
|
|
|
| // We add a slight delay because this could be called rapidly.
|
|
|