Index: samples/process.cc |
diff --git a/samples/process.cc b/samples/process.cc |
index fd3a82163904b376dc60a24a08298ff1c7a32a22..75d6582e82b8c69aecb8a707ee40f6b75ccf18bb 100644 |
--- a/samples/process.cc |
+++ b/samples/process.cc |
@@ -168,7 +168,7 @@ bool JsHttpRequestProcessor::Initialize(map<string, string>* opts, |
// is what we need for the reference to remain after we return from |
// this method. That persistent handle has to be disposed in the |
// destructor. |
- context_.Reset(GetIsolate(), Context::New(GetIsolate(), NULL, global)); |
+ context_ = Context::New(NULL, global); |
// Enter the new context so all the following operations take place |
// within it. |