| Index: test/cctest/test-global-object.cc
|
| diff --git a/test/cctest/test-global-object.cc b/test/cctest/test-global-object.cc
|
| index b124b2728dfe102fb9654c25ea0103e810c874f6..5fe77c2adf0feaca1d4b02c810329237b8dffebd 100644
|
| --- a/test/cctest/test-global-object.cc
|
| +++ b/test/cctest/test-global-object.cc
|
| @@ -34,7 +34,7 @@ using namespace v8;
|
| // This test fails if properties on the prototype of the global object appear
|
| // as declared globals.
|
| TEST(StrictUndeclaredGlobalVariable) {
|
| - HandleScope scope(Isolate::GetCurrent());
|
| + HandleScope scope(CcTest::isolate());
|
| v8::Local<v8::String> var_name = v8_str("x");
|
| LocalContext context;
|
| v8::TryCatch try_catch;
|
|
|