| 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 fab51b6c952865f90596de903d5caa7cbb6dad7b..160e50565160cdf2cb7904365ba33452527dbff3 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLKeygenElement.cpp
|
| @@ -34,6 +34,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"
|
| @@ -49,6 +50,8 @@ HTMLKeygenElement::HTMLKeygenElement(Document& document, HTMLFormElement* form)
|
| : HTMLFormControlElementWithState(keygenTag, document, form)
|
| {
|
| UseCounter::count(document, UseCounter::HTMLKeygenElement);
|
| + if (document.frame())
|
| + document.frame()->loader().client()->didUseKeygen();
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<HTMLKeygenElement> HTMLKeygenElement::create(Document& document, HTMLFormElement* form)
|
|
|