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

Unified Diff: third_party/WebKit/Source/core/html/ListedElement.cpp

Issue 2537133005: New interface and function for form association (Closed)
Patch Set: Add interface to ListedElement and HTMLImageElement 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/ListedElement.cpp
diff --git a/third_party/WebKit/Source/core/html/ListedElement.cpp b/third_party/WebKit/Source/core/html/ListedElement.cpp
index 2ef61f4ca8a70cc0a66795c0a5a23b161d95c86a..903ed999111f5aaf2848f78667abfc04cd8885c8 100644
--- a/third_party/WebKit/Source/core/html/ListedElement.cpp
+++ b/third_party/WebKit/Source/core/html/ListedElement.cpp
@@ -280,6 +280,8 @@ bool ListedElement::isFormControlElementWithState() const {
return false;
}
+void ListedElement::setAssociatedForm(HTMLFormElement*){};
+
const HTMLElement& toHTMLElement(const ListedElement& listedElement) {
if (listedElement.isFormControlElement())
return toHTMLFormControlElement(listedElement);

Powered by Google App Engine
This is Rietveld 408576698