Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 201601b9e40163e60917f2493e422b94e2011632..41befa8396ed035131818bdc829323f39dad88eb 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -12200,7 +12200,7 @@ class RegExpStringModificationTest { |
// Inject the input as a global variable. |
i::Handle<i::String> input_name = |
FACTORY->NewStringFromAscii(i::Vector<const char>("input", 5)); |
- i::Isolate::Current()->native_context()->global()->SetProperty( |
+ i::Isolate::Current()->native_context()->global_object()->SetProperty( |
*input_name, |
*input_, |
NONE, |