| Index: Source/core/html/HTMLLinkElement.cpp
|
| diff --git a/Source/core/html/HTMLLinkElement.cpp b/Source/core/html/HTMLLinkElement.cpp
|
| index f36b9200c1892400d20bda6a7233268153bde053..7c1094409a8ce7d2d8ff8285eca9d3d254dc6171 100644
|
| --- a/Source/core/html/HTMLLinkElement.cpp
|
| +++ b/Source/core/html/HTMLLinkElement.cpp
|
| @@ -26,6 +26,7 @@
|
| #include "core/html/HTMLLinkElement.h"
|
|
|
| #include "bindings/v8/ScriptEventListener.h"
|
| +#include "bindings/v8/V8DOMActivityLogger.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/css/MediaList.h"
|
| #include "core/css/MediaQueryEvaluator.h"
|
| @@ -260,6 +261,16 @@ void HTMLLinkElement::enableIfExitTransitionStyle()
|
|
|
| Node::InsertionNotificationRequest HTMLLinkElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| + if (insertionPoint->isInTreeScope()) {
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("link");
|
| + argv.append(fastGetAttribute(relAttr));
|
| + argv.append(fastGetAttribute(hrefAttr));
|
| + activityLogger->logEvent("blinkAddElement", 3, argv.data());
|
| + }
|
| + }
|
| HTMLElement::insertedInto(insertionPoint);
|
| if (!insertionPoint->inDocument())
|
| return InsertionDone;
|
|
|