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

Unified Diff: src/runtime/runtime-debug.cc

Issue 2163823004: [runtime] cleanup: use the factory() for handlified values (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | src/runtime/runtime-generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | src/runtime/runtime-generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698