| Index: Source/core/html/HTMLInputElement.cpp
|
| diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
|
| index 904da975e84edb9fcd952b2394076ec414d58c3e..03539bd685e82623dc10253ffb325dbc7a312c03 100644
|
| --- a/Source/core/html/HTMLInputElement.cpp
|
| +++ b/Source/core/html/HTMLInputElement.cpp
|
| @@ -32,6 +32,7 @@
|
| #include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ExceptionState.h"
|
| #include "bindings/v8/ScriptEventListener.h"
|
| +#include "bindings/v8/V8DOMActivityLogger.h"
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/accessibility/AXObjectCache.h"
|
| @@ -1412,6 +1413,16 @@ void HTMLInputElement::didChangeForm()
|
|
|
| Node::InsertionNotificationRequest HTMLInputElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| + if (insertionPoint->isInTreeScope()) {
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("input");
|
| + argv.append(fastGetAttribute(typeAttr));
|
| + argv.append(fastGetAttribute(formactionAttr));
|
| + activityLogger->logEvent("blinkAddElement", 3, argv.data());
|
| + }
|
| + }
|
| HTMLTextFormControlElement::insertedInto(insertionPoint);
|
| if (insertionPoint->inDocument() && !form())
|
| addToRadioButtonGroup();
|
|
|