Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(33)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp

Issue 2873293002: Replace ASSERT with DCHECK_EQ as appropriate (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
index de6c24500a95b46123a4d1553d09ac8012806b2c..95a1ec778a274ab4e4c048bf2e416961c5ebf766 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
@@ -387,7 +387,7 @@ Response InspectorAnimationAgent::setTiming(const String& animation_id,
// Refer to CSSAnimations::calculateTransitionUpdateForProperty() for the
// structure of transitions.
const KeyframeVector& frames = old_model->GetFrames();
- ASSERT(frames.size() == 3);
+ DCHECK(frames.size() == 3);
KeyframeVector new_frames;
for (int i = 0; i < 3; i++)
new_frames.push_back(ToTransitionKeyframe(frames[i]->Clone().Get()));

Powered by Google App Engine
This is Rietveld 408576698