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

Unified Diff: third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h

Issue 2846303002: Replace ASSERT with DCHECK in platform/ (Closed)
Patch Set: rebase Created 3 years, 8 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/platform/transforms/TranslateTransformOperation.h
diff --git a/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h b/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h
index 66576c816c2e0e01df8b95c182b67e83c274a648..287958cb4e46bfac2d5a95fec8199b10e33f1930 100644
--- a/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h
+++ b/third_party/WebKit/Source/platform/transforms/TranslateTransformOperation.h
@@ -99,7 +99,7 @@ class PLATFORM_EXPORT TranslateTransformOperation final
double tz,
OperationType type)
: x_(tx), y_(ty), z_(tz), type_(type) {
- ASSERT(IsMatchingOperationType(type));
+ DCHECK(IsMatchingOperationType(type));
}
Length x_;

Powered by Google App Engine
This is Rietveld 408576698