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

Unified Diff: Source/web/WebFormElement.cpp

Issue 270823004: Oilpan: Prepare to move FormAssociatedElement to Oilpan heap, part 2. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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
Index: Source/web/WebFormElement.cpp
diff --git a/Source/web/WebFormElement.cpp b/Source/web/WebFormElement.cpp
index 6fa8a4c3f6a5270b2065a89920a71a563883a73b..196b12c0463d997ea3bdb4c0f56ee8c162ee7a52 100644
--- a/Source/web/WebFormElement.cpp
+++ b/Source/web/WebFormElement.cpp
@@ -98,8 +98,8 @@ void WebFormElement::getFormControlElements(WebVector<WebFormControlElement>& re
const HTMLFormElement* form = constUnwrap<HTMLFormElement>();
Vector<WebFormControlElement> formControlElements;
- const Vector<FormAssociatedElement*>& associatedElements = form->associatedElements();
- for (Vector<FormAssociatedElement*>::const_iterator it = associatedElements.begin(); it != associatedElements.end(); ++it) {
+ const FormAssociatedElement::List& associatedElements = form->associatedElements();
+ for (FormAssociatedElement::List::const_iterator it = associatedElements.begin(); it != associatedElements.end(); ++it) {
if ((*it)->isFormControlElement())
formControlElements.append(toHTMLFormControlElement(*it));
}

Powered by Google App Engine
This is Rietveld 408576698