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 a7eaec25442f22b924b0ac68a650a238583c2303..65a3aef9ed74f8254f5e430570bde6f2d34abecd 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp |
@@ -35,6 +35,7 @@ |
#include "core/html/HTMLOptionElement.h" |
#include "core/html/HTMLSelectElement.h" |
#include "core/layout/LayoutBlockFlow.h" |
+#include "core/loader/FrameLoaderClient.h" |
#include "platform/text/PlatformLocale.h" |
#include "public/platform/Platform.h" |
#include "public/platform/WebLocalizedString.h" |
@@ -50,6 +51,7 @@ HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form) |
: HTMLFormControlElementWithState(keygenTag, document, form) |
{ |
UseCounter::count(document, UseCounter::HTMLKeygenElement); |
+ document.frame()->loader().client()->didUseKeygen(); |
} |
PassRefPtrWillBeRawPtr<HTMLKeygenElement> HTMLKeygenElement::create(Document& document, HTMLFormElement* form) |