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

Unified Diff: src/debug/debug.h

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 | « src/api.cc ('k') | src/debug/debug-interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 30cbe77f8b37aa71895d49b54c60c29fe29cd88c..4d591d053134560189e9f7fa4e16dc324771ed58 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -501,11 +501,8 @@
void Iterate(ObjectVisitor* v);
bool CheckExecutionState(int id) {
- return CheckExecutionState() && break_id() == id;
- }
-
- bool CheckExecutionState() {
- return is_active() && !debug_context().is_null() && break_id() != 0;
+ return is_active() && !debug_context().is_null() && break_id() != 0 &&
+ break_id() == id;
}
// Flags and states.
« no previous file with comments | « src/api.cc ('k') | src/debug/debug-interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698