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

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

Issue 2883353002: Replace ASSERT with DCHECK_LE/GE/GT/LT/NE as appropriate (Closed)
Patch Set: DCHECK in BluetoothCharacteristicProperties.cpp 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 95a1ec778a274ab4e4c048bf2e416961c5ebf766..1edfcc7adbdecfbc4a42c35f9c2e57310e229503 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorAnimationAgent.cpp
@@ -465,7 +465,7 @@ static void AddStringToDigestor(WebCryptoDigestor* digestor,
String InspectorAnimationAgent::CreateCSSId(blink::Animation& animation) {
String type =
id_to_animation_type_.at(String::Number(animation.SequenceNumber()));
- ASSERT(type != AnimationType::WebAnimation);
+ DCHECK_NE(type, AnimationType::WebAnimation);
KeyframeEffectReadOnly* effect = ToKeyframeEffectReadOnly(animation.effect());
Vector<CSSPropertyID> css_properties;

Powered by Google App Engine
This is Rietveld 408576698