Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index f16295f87ec149a8c87504633509361eece6161e..c35bbe821ecfb6147377920e076257a04e20a69e 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1638,7 +1638,7 @@ static Handle<Object> GetJSPositionInfo(Handle<Script> script, int position, |
Script::OffsetFlag offset_flag, |
Isolate* isolate) { |
Script::PositionInfo info; |
- if (!script->GetPositionInfo(position, &info, offset_flag)) { |
+ if (!Script::GetPositionInfo(script, position, &info, offset_flag)) { |
return isolate->factory()->null_value(); |
} |
@@ -1705,7 +1705,7 @@ Handle<Object> ScriptLocationFromLine(Isolate* isolate, Handle<Script> script, |
position = offset + column; |
} else { |
Script::PositionInfo info; |
- if (!script->GetPositionInfo(offset, &info, Script::NO_OFFSET) || |
+ if (!Script::GetPositionInfo(script, offset, &info, Script::NO_OFFSET) || |
info.line + line >= line_count) { |
return isolate->factory()->null_value(); |
} |