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

Unified Diff: third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp

Issue 2755493004: Replace ASSERT, ASSERT_NOT_REACHED, and RELEASE_ASSERT in core/css/ (Closed)
Patch Set: All windows error are Resolved now. Created 3 years, 9 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/css/resolver/TransformBuilder.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp b/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
index 8d7b4c46ea9a66981fece3302b8b68325f67296f..ebfe2353cd3bb72b3e7efc860f88ae9c0c36bcac 100644
--- a/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/TransformBuilder.cpp
@@ -330,13 +330,13 @@ TransformOperations TransformBuilder::createTransformOperations(
}
case TransformOperation::Perspective: {
double p = firstValue.computeLength<double>(conversionData);
- ASSERT(p >= 0);
+ DCHECK_GE(p, 0);
operations.operations().push_back(
PerspectiveTransformOperation::create(p));
break;
}
default:
- ASSERT_NOT_REACHED();
+ NOTREACHED();
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698