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

Unified Diff: third_party/WebKit/Source/core/html/HTMLKeygenElement.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/HTMLKeygenElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp b/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
index a57db6ad60b7c2a9467403321699e0e5e370caf5..81996b2dc75984a11705f531fbae075a27e9cfb3 100644
--- a/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
@@ -46,16 +46,15 @@ namespace blink {
using namespace HTMLNames;
-HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form)
- : HTMLFormControlElementWithState(keygenTag, document, form) {
+HTMLKeygenElement::HTMLKeygenElement(Document& document)
+ : HTMLFormControlElementWithState(keygenTag, document) {
Deprecation::countDeprecation(document, UseCounter::HTMLKeygenElement);
if (document.frame())
document.frame()->loader().client()->didUseKeygen();
}
-HTMLKeygenElement* HTMLKeygenElement::create(Document& document,
- HTMLFormElement* form) {
- HTMLKeygenElement* keygen = new HTMLKeygenElement(document, form);
+HTMLKeygenElement* HTMLKeygenElement::create(Document& document) {
+ HTMLKeygenElement* keygen = new HTMLKeygenElement(document);
keygen->ensureUserAgentShadowRoot();
return keygen;
}
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLKeygenElement.h ('k') | third_party/WebKit/Source/core/html/HTMLObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698