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

Unified Diff: Source/core/page/ConsoleBase.cpp

Issue 23848006: Put console.time into a separate trace event category. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/ConsoleBase.cpp
diff --git a/Source/core/page/ConsoleBase.cpp b/Source/core/page/ConsoleBase.cpp
index 97ef72bafda3d14f6e2de8e5b629789df029046a..e1eaa9e128caea9bdd72b46cbfcdb51e2f544b3d 100644
--- a/Source/core/page/ConsoleBase.cpp
+++ b/Source/core/page/ConsoleBase.cpp
@@ -158,12 +158,12 @@ void ConsoleBase::profileEnd(ScriptState* state, const String& title)
void ConsoleBase::time(const String& title)
{
InspectorInstrumentation::startConsoleTiming(context(), title);
- TRACE_EVENT_COPY_ASYNC_BEGIN0("webkit", title.utf8().data(), this);
+ TRACE_EVENT_COPY_ASYNC_BEGIN0("webkit.console", title.utf8().data(), this);
}
void ConsoleBase::timeEnd(ScriptState* state, const String& title)
{
- TRACE_EVENT_COPY_ASYNC_END0("webkit", title.utf8().data(), this);
+ TRACE_EVENT_COPY_ASYNC_END0("webkit.console", title.utf8().data(), this);
RefPtr<ScriptCallStack> callStack(createScriptCallStackForConsole(state));
InspectorInstrumentation::stopConsoleTiming(context(), title, callStack.release());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698