Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 759585c1c85045f58353349b9618afe03e82a900..3e03ae96a7694f879a8181d5cc906221219dffc7 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -1468,7 +1468,7 @@ TEST(HiddenPropertiesFastCase) { |
v8::Handle<v8::Value> cHandle = env->Global()->Get(v8::String::New("c")); |
CHECK(!cHandle.IsEmpty() && cHandle->IsObject()); |
- cHandle->ToObject()->GetIdentityHash(); |
+ cHandle->ToObject()->SetHiddenValue(v8_str("key"), v8_str("val")); |
snapshot = v8::HeapProfiler::TakeSnapshot( |
v8_str("HiddenPropertiesFastCase2")); |