Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index 85ba7a96a420ffa36ce4d6e85abd9eed58361227..eeb786518e8d6ca13cb5b915505017c925d98573 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -10121,7 +10121,8 @@ THREADED_TEST(Regress269562) { |
v8::Local<v8::Symbol> sym = v8::Symbol::New(context->GetIsolate(), "s1"); |
o1->Set(sym, v8_num(3)); |
- o1->SetHiddenValue(v8_str("h1"), v8::Integer::New(2013)); |
+ o1->SetHiddenValue(v8_str("h1"), |
+ v8::Integer::New(context->GetIsolate(), 2013)); |
// Call the runtime version of GetLocalPropertyNames() on |
// the natively created object through JavaScript. |