Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index eeafc7093cca7332579d0d9cee37273e9d354328..0417ace2c2bab5c32519e1534bdd8a5967f3facd 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -1888,7 +1888,7 @@ TEST(NoDebugObjectInSnapshot) { |
v8::HandleScope scope(env->GetIsolate()); |
v8::HeapProfiler* heap_profiler = env->GetIsolate()->GetHeapProfiler(); |
- CcTest::i_isolate()->debug()->Load(); |
+ CHECK(CcTest::i_isolate()->debug()->Load()); |
CompileRun("foo = {};"); |
const v8::HeapSnapshot* snapshot = |
heap_profiler->TakeHeapSnapshot(v8_str("snapshot")); |