| Index: gin/wrappable_unittest.cc
|
| diff --git a/gin/wrappable_unittest.cc b/gin/wrappable_unittest.cc
|
| index 3d795716de4a907ed06478055589edf621e120c7..70cb22458840e4ff09a8af1ddda2b7f6a273f788 100644
|
| --- a/gin/wrappable_unittest.cc
|
| +++ b/gin/wrappable_unittest.cc
|
| @@ -183,7 +183,7 @@ TEST_F(WrappableTest, GetAndSetProperty) {
|
| " else obj.value = 191; })");
|
| EXPECT_FALSE(source.IsEmpty());
|
|
|
| - gin::TryCatch try_catch;
|
| + gin::TryCatch try_catch(isolate);
|
| v8::Local<v8::Script> script = v8::Script::Compile(source);
|
| EXPECT_FALSE(script.IsEmpty());
|
| v8::Local<v8::Value> val = script->Run();
|
| @@ -209,7 +209,7 @@ TEST_F(WrappableTest, WrappableSubclass) {
|
| "(function(obj) {"
|
| "obj.sayHello('Lily');"
|
| "})");
|
| - gin::TryCatch try_catch;
|
| + gin::TryCatch try_catch(isolate);
|
| v8::Local<v8::Script> script = v8::Script::Compile(source);
|
| v8::Local<v8::Value> val = script->Run();
|
| v8::Local<v8::Function> func;
|
| @@ -232,7 +232,7 @@ TEST_F(WrappableTest, CallAsFunction) {
|
| "(function(obj) {"
|
| "obj(42, 2, 5);"
|
| "})");
|
| - gin::TryCatch try_catch;
|
| + gin::TryCatch try_catch(isolate);
|
| v8::Local<v8::Script> script = v8::Script::Compile(source);
|
| v8::Local<v8::Value> val = script->Run();
|
| v8::Local<v8::Function> func;
|
| @@ -255,7 +255,7 @@ TEST_F(WrappableTest, CallAsConstructor) {
|
| "(function(obj) {"
|
| "new obj(42, 2, 5);"
|
| "})");
|
| - gin::TryCatch try_catch;
|
| + gin::TryCatch try_catch(isolate);
|
| v8::Local<v8::Script> script = v8::Script::Compile(source);
|
| v8::Local<v8::Value> val = script->Run();
|
| v8::Local<v8::Function> func;
|
|
|