Index: src/debug/debug.cc |
diff --git a/src/debug/debug.cc b/src/debug/debug.cc |
index a34f2df6968d603088a623b3bd4a65954565c45f..ba29d1ef2fe3646e92a5400087ff787faff8d164 100644 |
--- a/src/debug/debug.cc |
+++ b/src/debug/debug.cc |
@@ -211,7 +211,7 @@ void CodeBreakIterator::Next() { |
int offset = code_offset(); |
while (!source_position_iterator_.done() && |
source_position_iterator_.code_offset() <= offset) { |
- position_ = source_position_iterator_.source_position(); |
+ position_ = source_position_iterator_.source_position().ScriptOffset(); |
if (source_position_iterator_.is_statement()) { |
statement_position_ = position_; |
} |
@@ -295,7 +295,7 @@ void BytecodeArrayBreakIterator::Next() { |
if (!first) source_position_iterator_.Advance(); |
first = false; |
if (Done()) return; |
- position_ = source_position_iterator_.source_position(); |
+ position_ = source_position_iterator_.source_position().ScriptOffset(); |
if (source_position_iterator_.is_statement()) { |
statement_position_ = position_; |
} |