Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index e0e1c26bfd8ac4d9a0e76695dedd9b58d084b171..3542b994ff3338ffd3860b763f49b4730dfe6d54 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1051,7 +1051,7 @@ void Isolate::DoThrow(Object* exception, MessageLocation* location) { |
if (capture_stack_trace_for_uncaught_exceptions_) { |
if (IsErrorObject(exception_handle)) { |
// We fetch the stack trace that corresponds to this error object. |
- String* key = heap()->hidden_stack_trace_string(); |
+ Handle<String> key = factory()->hidden_stack_trace_string(); |
Object* stack_property = |
JSObject::cast(*exception_handle)->GetHiddenProperty(key); |
// Property lookup may have failed. In this case it's probably not |