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(); |
} |