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

Unified Diff: Source/core/html/HTMLFormControlElement.h

Issue 107183004: Only 'form associated' elements have a potential form owner. (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
« no previous file with comments | « Source/core/html/HTMLFieldSetElement.idl ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLFormControlElement.h
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h
index 391dae36441335f283b1c1b035e5ecab34e9b370..9438b6a775d10539a569e992b89143de4201421f 100644
--- a/Source/core/html/HTMLFormControlElement.h
+++ b/Source/core/html/HTMLFormControlElement.h
@@ -43,8 +43,6 @@ class HTMLFormControlElement : public LabelableElement, public FormAssociatedEle
public:
virtual ~HTMLFormControlElement();
- HTMLFormElement* form() const { return FormAssociatedElement::form(); }
-
String formEnctype() const;
void setFormEnctype(const AtomicString&);
String formMethod() const;
@@ -145,6 +143,7 @@ private:
virtual void derefFormAssociatedElement() { deref(); }
virtual bool isFormControlElement() const { return true; }
+ virtual bool isFormAssociatedElement() const OVERRIDE { return true; }
virtual bool alwaysCreateUserAgentShadowRoot() const OVERRIDE { return true; }
virtual short tabIndex() const;
« no previous file with comments | « Source/core/html/HTMLFieldSetElement.idl ('k') | Source/core/html/HTMLFormElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698