| Index: third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| index 4323af3d0a987212e8fad6023bdb756808d6bf2e..77e4abc54eb6734b4828eab98d914fb2d9eb31c3 100644
|
| --- a/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp
|
| @@ -126,13 +126,13 @@ public:
|
|
|
| WriteResult WriteAsciiChunk(char* data, int size) override
|
| {
|
| - ASSERT(false);
|
| + DCHECK(false);
|
| return kAbort;
|
| }
|
|
|
| WriteResult WriteHeapStatsChunk(v8::HeapStatsUpdate* updateData, int count) override
|
| {
|
| - ASSERT(count > 0);
|
| + DCHECK_GT(count, 0);
|
| OwnPtr<protocol::Array<int>> statsDiff = protocol::Array<int>::create();
|
| for (int i = 0; i < count; ++i) {
|
| statsDiff->addItem(updateData[i].index);
|
| @@ -164,7 +164,7 @@ void V8HeapProfilerAgentImpl::clearFrontend()
|
| {
|
| ErrorString error;
|
| disable(&error);
|
| - ASSERT(m_frontend);
|
| + DCHECK(m_frontend);
|
| m_frontend = nullptr;
|
| }
|
|
|
|
|