| Index: third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| index 4fa388cae0c0a3ba93d89df21d39618c5807e256..416e709d9a9024a130346ea3380c37874387ac94 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorLayerTreeAgent.cpp
|
| @@ -373,7 +373,7 @@ void InspectorLayerTreeAgent::makeSnapshot(ErrorString* errorString,
|
|
|
| *snapshotId = String::number(++s_lastSnapshotId);
|
| bool newEntry = m_snapshotById.add(*snapshotId, snapshot).isNewEntry;
|
| - ASSERT_UNUSED(newEntry, newEntry);
|
| + DCHECK(newEntry);
|
| }
|
|
|
| void InspectorLayerTreeAgent::loadSnapshot(
|
| @@ -407,7 +407,7 @@ void InspectorLayerTreeAgent::loadSnapshot(
|
|
|
| *snapshotId = String::number(++s_lastSnapshotId);
|
| bool newEntry = m_snapshotById.add(*snapshotId, snapshot).isNewEntry;
|
| - ASSERT_UNUSED(newEntry, newEntry);
|
| + DCHECK(newEntry);
|
| }
|
|
|
| void InspectorLayerTreeAgent::releaseSnapshot(ErrorString* errorString,
|
|
|