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

Unified Diff: Source/core/html/HTMLLegendElement.cpp

Issue 93723003: Rename HTMLElement::form() to formOwner(). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 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: Source/core/html/HTMLLegendElement.cpp
diff --git a/Source/core/html/HTMLLegendElement.cpp b/Source/core/html/HTMLLegendElement.cpp
index 0e711ef4161fe4cfaa14ac072b718be794c9ccd2..f15aed3010b2cf01b3d76f27aeb68c1612012245 100644
--- a/Source/core/html/HTMLLegendElement.cpp
+++ b/Source/core/html/HTMLLegendElement.cpp
@@ -82,7 +82,7 @@ void HTMLLegendElement::accessKeyAction(bool sendMouseEvents)
control->accessKeyAction(sendMouseEvents);
}
-HTMLFormElement* HTMLLegendElement::virtualForm() const
+HTMLFormElement* HTMLLegendElement::form() const
{
// According to the specification, If the legend has a fieldset element as
// its parent, then the form attribute must return the same value as the
@@ -91,7 +91,7 @@ HTMLFormElement* HTMLLegendElement::virtualForm() const
if (!fieldset || !fieldset->hasTagName(fieldsetTag))
return 0;
- return toHTMLFieldSetElement(fieldset)->form();
+ return toHTMLFieldSetElement(fieldset)->formOwner();
}
} // namespace

Powered by Google App Engine
This is Rietveld 408576698