| Index: Source/core/frame/LocalDOMWindow.cpp
|
| diff --git a/Source/core/frame/LocalDOMWindow.cpp b/Source/core/frame/LocalDOMWindow.cpp
|
| index 612bbd85f307f50a492f4eac85029203fb70a082..9cd726432121d1ac2b889e4bf0cec871afa9f902 100644
|
| --- a/Source/core/frame/LocalDOMWindow.cpp
|
| +++ b/Source/core/frame/LocalDOMWindow.cpp
|
| @@ -33,6 +33,7 @@
|
| #include "bindings/core/v8/ScriptCallStackFactory.h"
|
| #include "bindings/core/v8/ScriptController.h"
|
| #include "bindings/core/v8/SerializedScriptValue.h"
|
| +#include "bindings/core/v8/V8DOMActivityLogger.h"
|
| #include "core/css/CSSComputedStyleDeclaration.h"
|
| #include "core/css/CSSRuleList.h"
|
| #include "core/css/DOMWindowCSS.h"
|
| @@ -1693,6 +1694,16 @@ void LocalDOMWindow::setLocation(const String& urlString, LocalDOMWindow* callin
|
| if (isInsecureScriptAccess(*callingWindow, completedURL))
|
| return;
|
|
|
| + V8DOMActivityLogger* activityLogger = V8DOMActivityLogger::currentActivityLoggerIfIsolatedWorld();
|
| + if (activityLogger) {
|
| + Vector<String> argv;
|
| + argv.append("LocalDOMWindow");
|
| + argv.append("url");
|
| + argv.append(firstFrame->document()->url());
|
| + argv.append(completedURL);
|
| + activityLogger->logEvent("blinkSetAttribute", argv.size(), argv.data());
|
| + }
|
| +
|
| // We want a new history item if we are processing a user gesture.
|
| m_frame->navigationScheduler().scheduleLocationChange(activeDocument,
|
| // FIXME: What if activeDocument()->frame() is 0?
|
|
|