Index: src/d8.h |
diff --git a/src/d8.h b/src/d8.h |
index c068dd9db1a0d6a31b97ee4cda008866ca9538b9..77646c288070eac6d9e5e1b94937895239cb440a 100644 |
--- a/src/d8.h |
+++ b/src/d8.h |
@@ -273,7 +273,7 @@ class Shell : public i::AllStatic { |
static const char* ToCString(const v8::String::Utf8Value& value); |
static void ReportException(Isolate* isolate, TryCatch* try_catch); |
static Handle<String> ReadFile(Isolate* isolate, const char* name); |
- static Local<Context> CreateEvaluationContext(Isolate* isolate); |
+ static Persistent<Context> CreateEvaluationContext(Isolate* isolate); |
static int RunMain(Isolate* isolate, int argc, char* argv[]); |
static int Main(int argc, char* argv[]); |
static void Exit(int exit_code); |