Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index b4e7c697412139f555deb042fa2e6287c9b9db4f..26afa51e64ba4df03621987acbb28ac50aa92aea 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -379,7 +379,7 @@ TEST(HiddenPrototypeObservation) { |
HarmonyIsolate isolate; |
HandleScope scope(isolate.GetIsolate()); |
LocalContext context(isolate.GetIsolate()); |
- Handle<FunctionTemplate> tmpl = FunctionTemplate::New(); |
+ Handle<FunctionTemplate> tmpl = FunctionTemplate::New(isolate.GetIsolate()); |
tmpl->SetHiddenPrototype(true); |
tmpl->InstanceTemplate()->Set( |
String::NewFromUtf8(isolate.GetIsolate(), "foo"), Number::New(75)); |