Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 4524574ff1815bbbe53de73c66e9ab8494751e36..201601b9e40163e60917f2493e422b94e2011632 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()->global_context()->global()->SetProperty( |
+ i::Isolate::Current()->native_context()->global()->SetProperty( |
*input_name, |
*input_, |
NONE, |