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

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp

Issue 1990353002: [DevTools] Capture call stacks for console messages without location. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more win7 expectation Created 4 years, 7 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
index 70ada7648e8757e4ed35b3105a80e5be42b4e4c6..b4c5435ed7be0f041acc7ef92b8e31a5f74a750c 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8Console.cpp
@@ -80,13 +80,13 @@ public:
if (!allowEmptyArguments && !m_info.Length())
return;
if (V8DebuggerClient* debuggerClient = ensureDebuggerClient())
- debuggerClient->reportMessageToConsole(m_context, type, level, String16(), &m_info, skipArgumentCount, -1);
+ debuggerClient->reportMessageToConsole(m_context, type, level, String16(), &m_info, skipArgumentCount);
}
void addMessage(MessageType type, MessageLevel level, const String16& message)
{
if (V8DebuggerClient* debuggerClient = ensureDebuggerClient())
- debuggerClient->reportMessageToConsole(m_context, type, level, message, nullptr, 0 /* skipArgumentsCount */, 1 /* maxStackSize */);
+ debuggerClient->reportMessageToConsole(m_context, type, level, message, nullptr, 0 /* skipArgumentsCount */);
}
void addDeprecationMessage(const char* id, const String16& message)
@@ -94,7 +94,7 @@ public:
if (checkAndSetPrivateFlagOnConsole(id, false))
return;
if (V8DebuggerClient* debuggerClient = ensureDebuggerClient())
- debuggerClient->reportMessageToConsole(m_context, LogMessageType, WarningMessageLevel, message, nullptr, 0 /* skipArgumentsCount */, 0 /* maxStackSize */);
+ debuggerClient->reportMessageToConsole(m_context, LogMessageType, WarningMessageLevel, message, nullptr, 0 /* skipArgumentsCount */);
}
bool firstArgToBoolean(bool defaultValue)

Powered by Google App Engine
This is Rietveld 408576698