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

Unified Diff: src/api.cc

Issue 2441583002: Revert of [inspector] migrate stepping related methods to debug-interface (Closed)
Patch Set: Created 4 years, 2 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 | src/debug/debug.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 4614f28ef9582b5fb85236342d98d014b135626b..3a6ff94a9c34330ce8eb4cdadc55f96a0db69109 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -8811,24 +8811,6 @@
type != NoBreakOnException);
}
-void DebugInterface::PrepareStep(Isolate* v8_isolate, StepAction action) {
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
- ENTER_V8(isolate);
- CHECK(isolate->debug()->CheckExecutionState());
- // Clear all current stepping setup.
- isolate->debug()->ClearStepping();
- // Prepare step.
- isolate->debug()->PrepareStep(static_cast<i::StepAction>(action));
-}
-
-void DebugInterface::ClearStepping(Isolate* v8_isolate) {
- i::Isolate* isolate = reinterpret_cast<i::Isolate*>(v8_isolate);
- ENTER_V8(isolate);
- CHECK(isolate->debug()->CheckExecutionState());
- // Clear all current stepping setup.
- isolate->debug()->ClearStepping();
-}
-
Local<String> CpuProfileNode::GetFunctionName() const {
const i::ProfileNode* node = reinterpret_cast<const i::ProfileNode*>(this);
i::Isolate* isolate = node->isolate();
« no previous file with comments | « no previous file | src/debug/debug.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698