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

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

Issue 458253002: [DevTools] Removed ScriptState from createScriptCallStackForConsole (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « Source/core/frame/ConsoleBase.h ('k') | Source/core/frame/ConsoleBase.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/ConsoleBase.cpp
diff --git a/Source/core/frame/ConsoleBase.cpp b/Source/core/frame/ConsoleBase.cpp
index 1b7b3ac91967592931635f9f2f87e3fe8f9518b6..005074cfd4a5255c3a32d01d892495a96bd6f637 100644
--- a/Source/core/frame/ConsoleBase.cpp
+++ b/Source/core/frame/ConsoleBase.cpp
@@ -111,14 +111,14 @@ void ConsoleBase::markTimeline(const String& title)
timeStamp(title);
}
-void ConsoleBase::profile(ScriptState* scriptState, const String& title)
+void ConsoleBase::profile(const String& title)
{
- InspectorInstrumentation::consoleProfile(context(), title, scriptState);
+ InspectorInstrumentation::consoleProfile(context(), title);
}
-void ConsoleBase::profileEnd(ScriptState* scriptState, const String& title)
+void ConsoleBase::profileEnd(const String& title)
{
- InspectorInstrumentation::consoleProfileEnd(context(), title, scriptState);
+ InspectorInstrumentation::consoleProfileEnd(context(), title);
}
void ConsoleBase::time(const String& title)
@@ -175,7 +175,7 @@ void ConsoleBase::internalAddMessage(MessageType type, MessageLevel level, Scrip
return;
size_t stackSize = printTrace ? ScriptCallStack::maxCallStackSizeToCapture : 1;
- RefPtrWillBeRawPtr<ScriptCallStack> callStack(createScriptCallStackForConsole(scriptState, stackSize));
+ RefPtrWillBeRawPtr<ScriptCallStack> callStack(createScriptCallStackForConsole(stackSize));
String message;
bool gotStringMessage = arguments->getFirstArgumentAsString(message);
« no previous file with comments | « Source/core/frame/ConsoleBase.h ('k') | Source/core/frame/ConsoleBase.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698