Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index 40ecc0252ff66d7c051176189da67c6f81849af8..b2c9b7220ec3938123f5bdb8df783a1db2eeeead 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -1414,7 +1414,7 @@ TEST(GetHeapValue) { |
GetProperty(obj, v8::HeapGraphEdge::kProperty, "n_prop"); |
v8::Local<v8::Number> js_n_prop = |
js_obj->Get(v8_str("n_prop")).As<v8::Number>(); |
- CHECK(js_n_prop == n_prop->GetHeapValue()); |
+ CHECK(js_n_prop->NumberValue() == n_prop->GetHeapValue()->NumberValue()); |
} |