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

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

Issue 2561043002: Clean-up after Form Association Refactoring (Closed)
Patch Set: Removed constructorNeedsFormElement from scripts and HTMLTagNames 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/HTMLImageElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
index 5a2fff14f9a0747ff0298fda6afd716be9097fae..7d8b58d511d125be22c37dd156dab669f7d39846 100644
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.cpp
@@ -87,7 +87,6 @@ class HTMLImageElement::ViewportChangeListener final
};
HTMLImageElement::HTMLImageElement(Document& document,
- HTMLFormElement* form,
bool createdByParser)
: HTMLElement(imgTag, document),
ActiveScriptWrappable(this),
@@ -107,9 +106,8 @@ HTMLImageElement* HTMLImageElement::create(Document& document) {
}
HTMLImageElement* HTMLImageElement::create(Document& document,
- HTMLFormElement* form,
bool createdByParser) {
- return new HTMLImageElement(document, form, createdByParser);
+ return new HTMLImageElement(document, createdByParser);
}
HTMLImageElement::~HTMLImageElement() {}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLImageElement.h ('k') | third_party/WebKit/Source/core/html/HTMLImageElementTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698