Index: test/cctest/test-object-observe.cc |
diff --git a/test/cctest/test-object-observe.cc b/test/cctest/test-object-observe.cc |
index 0c8e1cd18c632553011ff5a76914f9aa9eb14fe1..bf1029586a56bd28749f77693ac6b7ecbec5d407 100644 |
--- a/test/cctest/test-object-observe.cc |
+++ b/test/cctest/test-object-observe.cc |
@@ -394,7 +394,7 @@ TEST(HiddenPrototypeObservation) { |
{ obj, "updated", "foo", Number::New(75) } |
}; |
EXPECT_RECORDS(CompileRun("records"), expected_records); |
- obj->SetPrototype(Null()); |
+ obj->SetPrototype(Null(isolate.GetIsolate())); |
CompileRun("obj.foo = 43"); |
const RecordExpectation expected_records2[] = { |
{ obj, "new", "foo", Handle<Value>() } |