Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 9a5060088fdfd94d8ab97b08d87f5b107e5e7b87..90d1791f6a73b60577f012390cf7459a3bd33808 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -753,12 +753,12 @@ class DebugScope BASE_EMBEDDED { |
// Stack allocated class for disabling break. |
class DisableBreak BASE_EMBEDDED { |
public: |
- explicit DisableBreak(Debug* debug, bool disable_break) |
+ explicit DisableBreak(Debug* debug) |
: debug_(debug), |
previous_break_disabled_(debug->break_disabled_), |
previous_in_debug_event_listener_(debug->in_debug_event_listener_) { |
- debug_->break_disabled_ = disable_break; |
- debug_->in_debug_event_listener_ = disable_break; |
+ debug_->break_disabled_ = true; |
+ debug_->in_debug_event_listener_ = true; |
} |
~DisableBreak() { |
debug_->break_disabled_ = previous_break_disabled_; |