Index: test/cctest/test-heap-profiler.cc |
diff --git a/test/cctest/test-heap-profiler.cc b/test/cctest/test-heap-profiler.cc |
index ae98cce298963131e2b4a9099172c2598c362c01..2541696fc03f24f35b79223f154d39b28381f760 100644 |
--- a/test/cctest/test-heap-profiler.cc |
+++ b/test/cctest/test-heap-profiler.cc |
@@ -862,7 +862,7 @@ class TestJSONStream : public v8::OutputStream { |
return kContinue; |
} |
virtual WriteResult WriteUint32Chunk(uint32_t* buffer, int chars_written) { |
- DCHECK(false); |
+ CHECK(false); |
return kAbort; |
} |
void WriteTo(i::Vector<char> dest) { buffer_.WriteTo(dest); } |
@@ -1031,13 +1031,13 @@ class TestStatsStream : public v8::OutputStream { |
virtual ~TestStatsStream() {} |
virtual void EndOfStream() { ++eos_signaled_; } |
virtual WriteResult WriteAsciiChunk(char* buffer, int chars_written) { |
- DCHECK(false); |
+ CHECK(false); |
return kAbort; |
} |
virtual WriteResult WriteHeapStatsChunk(v8::HeapStatsUpdate* buffer, |
int updates_written) { |
++intervals_count_; |
- DCHECK(updates_written); |
+ CHECK(updates_written); |
updates_written_ += updates_written; |
entries_count_ = 0; |
if (first_interval_index_ == -1 && updates_written != 0) |
@@ -2652,7 +2652,7 @@ TEST(ArrayBufferSharedBackingStore) { |
CHECK_EQ(1024, static_cast<int>(ab_contents.ByteLength())); |
void* data = ab_contents.Data(); |
- DCHECK(data != NULL); |
+ CHECK(data != NULL); |
v8::Local<v8::ArrayBuffer> ab2 = |
v8::ArrayBuffer::New(isolate, data, ab_contents.ByteLength()); |
CHECK(ab2->IsExternal()); |