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

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

Issue 2234703003: [DevTools] Removed Debugger.canSetScriptSource & Debugger.getBacktrace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 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
Index: third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
index c97eaeb175c58e140c3ee016fb66e471cb91f2e9..865f3bd5b38861b06c31f568de446806554056a0 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8DebuggerAgentImpl.cpp
@@ -397,18 +397,6 @@ void V8DebuggerAgentImpl::continueToLocation(ErrorString* errorString, std::uniq
resume(errorString);
}
-void V8DebuggerAgentImpl::getBacktrace(ErrorString* errorString, std::unique_ptr<Array<CallFrame>>* callFrames, Maybe<StackTrace>* asyncStackTrace)
-{
- if (!assertPaused(errorString))
- return;
- JavaScriptCallFrames frames = m_debugger->currentCallFrames();
- m_pausedCallFrames.swap(frames);
- *callFrames = currentCallFrames(errorString);
- if (!*callFrames)
- return;
- *asyncStackTrace = currentAsyncStackTrace();
-}
-
bool V8DebuggerAgentImpl::isCurrentCallStackEmptyOrBlackboxed()
{
DCHECK(enabled());

Powered by Google App Engine
This is Rietveld 408576698