| 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 132479ac3b63b1fa9c6d83d205fa297e923431b7..83d8402f987e9c26faa6cc26ad7941ec5b91bdc6 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -6367,7 +6367,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.
|
|
|