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

Unified Diff: third_party/WebKit/Source/core/html/forms/FormController.cpp

Issue 2546063002: Rename FormAssociatedElement to ListedElement (Closed)
Patch Set: Suggested changes made Created 4 years 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
Index: third_party/WebKit/Source/core/html/forms/FormController.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/FormController.cpp b/third_party/WebKit/Source/core/html/forms/FormController.cpp
index 8d8143c3b6aa8ef1e6621c4256339069b143206c..3849e8fa7b29367c28c66b32de2e114ef984ea14 100644
--- a/third_party/WebKit/Source/core/html/forms/FormController.cpp
+++ b/third_party/WebKit/Source/core/html/forms/FormController.cpp
@@ -327,7 +327,7 @@ static inline void recordFormStructure(const HTMLFormElement& form,
StringBuilder& builder) {
// 2 is enough to distinguish forms in webkit.org/b/91209#c0
const size_t namedControlsToBeRecorded = 2;
- const FormAssociatedElement::List& controls = form.associatedElements();
+ const ListedElement::List& controls = form.listedElements();
builder.append(" [");
for (size_t i = 0, namedControls = 0;
i < controls.size() && namedControls < namedControlsToBeRecorded; ++i) {
@@ -538,7 +538,7 @@ void FormController::restoreControlStateFor(
void FormController::restoreControlStateIn(HTMLFormElement& form) {
EventQueueScope scope;
- const FormAssociatedElement::List& elements = form.associatedElements();
+ const ListedElement::List& elements = form.listedElements();
for (const auto& element : elements) {
if (!element->isFormControlElementWithState())
continue;
« no previous file with comments | « third_party/WebKit/Source/core/html/ValidityState.h ('k') | third_party/WebKit/Source/core/loader/FormSubmission.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698