Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index d885450a47e62af144c48f5a84ec35f50671b65e..623a31acc4e482f44b516c13095540877d8584eb 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1582,7 +1582,7 @@ static Handle<Object> GetJSPositionInfo(Handle<Script> script, int position, |
Isolate* isolate) { |
Script::PositionInfo info; |
if (!script->GetPositionInfo(position, &info, offset_flag)) { |
- return handle(isolate->heap()->null_value(), isolate); |
+ return isolate->factory()->null_value(); |
} |
Handle<String> source = handle(String::cast(script->source()), isolate); |