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

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

Issue 1729483002: Adding Deprecation Message for <keygen> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed final test. Created 4 years, 10 months 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 | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32a05a12c83719901f3de3629141fe6c1bada9f0..90b3c4071f026e5ee627762c5ba6b7f8163cd84f 100644
--- a/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
@@ -29,7 +29,7 @@
#include "core/dom/Document.h"
#include "core/dom/Text.h"
#include "core/dom/shadow/ShadowRoot.h"
-#include "core/frame/UseCounter.h"
+#include "core/frame/Deprecation.h"
#include "core/html/FormData.h"
#include "core/html/HTMLOptionElement.h"
#include "core/html/HTMLSelectElement.h"
@@ -49,7 +49,7 @@ using namespace HTMLNames;
HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form)
: HTMLFormControlElementWithState(keygenTag, document, form)
{
- UseCounter::count(document, UseCounter::HTMLKeygenElement);
+ Deprecation::countDeprecation(document, UseCounter::HTMLKeygenElement);
if (document.frame())
document.frame()->loader().client()->didUseKeygen();
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698