Index: src/string-stream.cc |
diff --git a/src/string-stream.cc b/src/string-stream.cc |
index 270fe5a40d98fae2d5b2214584d2c53110c1b9c8..51aa2bb3291f9af2bbde544fb9034bb25fc3cd00 100644 |
--- a/src/string-stream.cc |
+++ b/src/string-stream.cc |
@@ -469,7 +469,7 @@ void StringStream::PrintSecurityTokenIfChanged(Object* f) { |
Add("(Function context is outside heap)\n"); |
return; |
} |
- Object* token = context->global_context()->security_token(); |
+ Object* token = context->native_context()->security_token(); |
if (token != isolate->string_stream_current_security_token()) { |
Add("Security context: %o\n", token); |
isolate->set_string_stream_current_security_token(token); |