Index: test/cctest/test-debug.cc |
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc |
index 1bd1dc3a0d8bf218f142dd9d3b3cdf31e0c43840..0c8a02b0469c7bcafdc9ff66fa7ee65f33c89645 100644 |
--- a/test/cctest/test-debug.cc |
+++ b/test/cctest/test-debug.cc |
@@ -169,10 +169,10 @@ class DebugLocalContext { |
v8::Utils::OpenHandle(*context_->Global()))); |
Handle<v8::internal::String> debug_string = |
factory->InternalizeOneByteString(STATIC_ASCII_VECTOR("debug")); |
- SetProperty(isolate, global, debug_string, |
- Handle<Object>(debug->debug_context()->global_proxy(), isolate), |
- DONT_ENUM, |
- ::v8::internal::kNonStrictMode); |
+ v8::internal::Runtime::SetObjectProperty(isolate, global, debug_string, |
+ Handle<Object>(debug->debug_context()->global_proxy(), isolate), |
+ DONT_ENUM, |
+ ::v8::internal::kNonStrictMode); |
} |
private: |