Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index cd1af05d578d59dd268d3adfc289388e143cf551..e3f18caeafb455d5ead54e06278e8f105c2db247 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8894,7 +8894,7 @@ bool CodeGenerationFromStringsAllowed(Isolate* isolate, |
return false; |
} else { |
// Callback set. Let it decide if code generation is allowed. |
- VMState state(isolate, EXTERNAL); |
+ VMState<EXTERNAL> state(isolate); |
return callback(v8::Utils::ToLocal(context)); |
} |
} |