Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Unified Diff: third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp

Issue 2771723005: [Bindings][UMA] Split user metrics for window proxy initialization (Closed)
Patch Set: Split main frame metric Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp
index 049f2df7203fd461c12fcf92f45ffd3b7ea02098..139ed88755d5dc6b65b9f7e211821b49bc008987 100644
--- a/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp
@@ -112,8 +112,9 @@ void LocalWindowProxy::initialize() {
TRACE_EVENT1("v8", "LocalWindowProxy::initialize", "isMainWindow",
frame()->isMainFrame());
SCOPED_BLINK_UMA_HISTOGRAM_TIMER(
- frame()->isMainFrame() ? "Blink.Binding.InitializeMainWindowProxy"
- : "Blink.Binding.InitializeNonMainWindowProxy");
+ frame()->isMainFrame()
+ ? "Blink.Binding.InitializeMainLocalWindowProxy"
+ : "Blink.Binding.InitializeNonMainLocalWindowProxy");
ScriptForbiddenScope::AllowUserAgentScript allowScript;
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698