Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 109622567aca808d0e0dce38a1acd8c61b46868c..9c4394ed7f01d1e3e3f1b405a616e1701664433a 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -471,7 +471,7 @@ void StringStream::PrintSecurityTokenIfChanged(Object* f) { |
} |
JSFunction* fun = JSFunction::cast(f); |
- Object* perhaps_context = fun->unchecked_context(); |
+ Object* perhaps_context = fun->context(); |
if (perhaps_context->IsHeapObject() && |
heap->Contains(HeapObject::cast(perhaps_context)) && |
perhaps_context->IsContext()) { |