Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index c5c932b7516cc70738ad918a9311dabe1e985427..d79e6c9d7db7b70debbe4ee6a2eb21ca43c7749d 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -2844,7 +2844,8 @@ THREADED_TEST(PrivateProperties) { |
v8::Local<v8::Object> obj = v8::Object::New(isolate); |
v8::Local<v8::Private> priv1 = v8::Private::New(isolate); |
- v8::Local<v8::Private> priv2 = v8::Private::New(isolate, "my-private"); |
+ v8::Local<v8::Private> priv2 = v8::Private::New(isolate, |
+ v8_str("my-private")); |
CcTest::heap()->CollectAllGarbage(i::Heap::kNoGCFlags); |