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

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

Issue 1891893002: [DevTools] Remove setPauseOnNextStatement from V8RuntimeAgentImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-last-result-to-injected-script
Patch Set: Created 4 years, 8 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 | « third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
index d1b70a436e7ba1e442c8cf3ee3525cfa0b5cb483..fe244fa8d89aed97d38aa16bce83164354815d2e 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
+++ b/third_party/WebKit/Source/platform/v8_inspector/V8RuntimeAgentImpl.cpp
@@ -238,22 +238,12 @@ void V8RuntimeAgentImpl::releaseObject(ErrorString* errorString, const String16&
InjectedScript::ObjectScope scope(errorString, m_debugger, m_session->contextGroupId(), objectId);
if (!scope.initialize())
return;
- bool pausingOnNextStatement = m_debugger->pausingOnNextStatement();
- if (pausingOnNextStatement)
- m_debugger->setPauseOnNextStatement(false);
scope.injectedScript()->releaseObject(objectId);
- if (pausingOnNextStatement)
- m_debugger->setPauseOnNextStatement(true);
}
void V8RuntimeAgentImpl::releaseObjectGroup(ErrorString*, const String16& objectGroup)
{
- bool pausingOnNextStatement = m_debugger->pausingOnNextStatement();
- if (pausingOnNextStatement)
- m_debugger->setPauseOnNextStatement(false);
m_session->releaseObjectGroup(objectGroup);
- if (pausingOnNextStatement)
- m_debugger->setPauseOnNextStatement(true);
}
void V8RuntimeAgentImpl::run(ErrorString* errorString)
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/V8DebuggerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698