| Index: Source/core/html/HTMLIFrameElement.cpp
|
| diff --git a/Source/core/html/HTMLIFrameElement.cpp b/Source/core/html/HTMLIFrameElement.cpp
|
| index b447e52765ac880b28b64b3b06ab87e34c7fda09..87151b26e4790e9c22ff8e66f50a20c2d98ac4ce 100644
|
| --- a/Source/core/html/HTMLIFrameElement.cpp
|
| +++ b/Source/core/html/HTMLIFrameElement.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "config.h"
|
| #include "core/html/HTMLIFrameElement.h"
|
|
|
| +#include "bindings/v8/V8DOMActivityLogger.h"
|
| #include "core/CSSPropertyNames.h"
|
| #include "core/HTMLNames.h"
|
| #include "core/html/HTMLDocument.h"
|
| @@ -100,6 +101,15 @@ RenderObject* HTMLIFrameElement::createRenderer(RenderStyle*)
|
|
|
| Node::InsertionNotificationRequest HTMLIFrameElement::insertedInto(ContainerNode* insertionPoint)
|
| {
|
| + if (insertionPoint->isInTreeScope()) {
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("iframe");
|
| + argv.append(fastGetAttribute(srcAttr));
|
| + activityLogger->logEvent("blinkAddElement", 2, argv.data());
|
| + }
|
| + }
|
| InsertionNotificationRequest result = HTMLFrameElementBase::insertedInto(insertionPoint);
|
| if (insertionPoint->inDocument() && document().isHTMLDocument() && !insertionPoint->isInShadowTree())
|
| toHTMLDocument(document()).addExtraNamedItem(m_name);
|
|
|