| Index: Source/core/html/HTMLFormElement.cpp
|
| diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
|
| index 9878763846e52c66645603eebdaaa545fc56bde3..34d02a6e550d193dd426586e9c20940f505e0b0c 100644
|
| --- a/Source/core/html/HTMLFormElement.cpp
|
| +++ b/Source/core/html/HTMLFormElement.cpp
|
| @@ -28,6 +28,7 @@
|
| #include <limits>
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/ScriptEventListener.h"
|
| +#include "bindings/v8/V8DOMActivityLogger.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/dom/Attribute.h"
|
| #include "core/dom/Document.h"
|
| @@ -136,6 +137,16 @@ bool HTMLFormElement::rendererIsNeeded(const RenderStyle& style)
|
|
|
| Node::InsertionNotificationRequest HTMLFormElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| + if (insertionPoint->isInTreeScope()) {
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("form");
|
| + argv.append(fastGetAttribute(methodAttr));
|
| + argv.append(fastGetAttribute(actionAttr));
|
| + activityLogger->logEvent("blinkAddElement", 3, argv.data());
|
| + }
|
| + }
|
| HTMLElement::insertedInto(insertionPoint);
|
| if (insertionPoint->inDocument())
|
| this->document().didAssociateFormControl(this);
|
|
|