| Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| index e1fea63aac13cc0c1b89c0460a58943a5a043df8..e9bfe37f98c093e07819878b4e5a1bf6089d8b48 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -427,7 +427,7 @@ class InspectorCSSAgent::SetStyleSheetTextAction final
|
| }
|
|
|
| void Merge(Action* action) override {
|
| - ASSERT(action->MergeId() == MergeId());
|
| + DCHECK_EQ(action->MergeId(), MergeId());
|
|
|
| SetStyleSheetTextAction* other =
|
| static_cast<SetStyleSheetTextAction*>(action);
|
| @@ -548,7 +548,7 @@ class InspectorCSSAgent::ModifyRuleAction final
|
| bool IsNoop() override { return old_text_ == new_text_; }
|
|
|
| void Merge(Action* action) override {
|
| - ASSERT(action->MergeId() == MergeId());
|
| + DCHECK_EQ(action->MergeId(), MergeId());
|
|
|
| ModifyRuleAction* other = static_cast<ModifyRuleAction*>(action);
|
| new_text_ = other->new_text_;
|
| @@ -605,7 +605,7 @@ class InspectorCSSAgent::SetElementStyleAction final
|
| }
|
|
|
| void Merge(Action* action) override {
|
| - ASSERT(action->MergeId() == MergeId());
|
| + DCHECK_EQ(action->MergeId(), MergeId());
|
|
|
| SetElementStyleAction* other = static_cast<SetElementStyleAction*>(action);
|
| text_ = other->text_;
|
|
|