Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 2832473004: Notify PasswordAutofillAgent about dynamic forms after the document was parsed. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/password/between_parsing_and_rendering.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/test/data/password/between_parsing_and_rendering.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698