Index: test/cctest/test-accessors.cc |
diff --git a/test/cctest/test-accessors.cc b/test/cctest/test-accessors.cc |
index c3148ff5663e48bf36aa3df42e1066a649bc474c..3f3589c295abdcded48ecbb974ec436e15d81de1 100644 |
--- a/test/cctest/test-accessors.cc |
+++ b/test/cctest/test-accessors.cc |
@@ -405,14 +405,14 @@ static void ThrowingGetAccessor( |
Local<String> name, |
const v8::PropertyCallbackInfo<v8::Value>& info) { |
ApiTestFuzzer::Fuzz(); |
- v8::ThrowException(v8_str("g")); |
+ info.GetIsolate()->ThrowException(v8_str("g")); |
} |
static void ThrowingSetAccessor(Local<String> name, |
Local<Value> value, |
const v8::PropertyCallbackInfo<void>& info) { |
- v8::ThrowException(value); |
+ info.GetIsolate()->ThrowException(value); |
} |