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

Unified Diff: third_party/WebKit/Source/platform/graphics/Path.cpp

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: m_domTreeVersion initialization Created 3 years, 11 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/graphics/Path.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/Path.cpp b/third_party/WebKit/Source/platform/graphics/Path.cpp
index dd890089b67e1758fc6cf805777d198359307cd2..cf5baae2ed3218bad19fa73bcd46377f008b1e93 100644
--- a/third_party/WebKit/Source/platform/graphics/Path.cpp
+++ b/third_party/WebKit/Source/platform/graphics/Path.cpp
@@ -549,7 +549,7 @@ bool Path::intersectPath(const Path& other) {
return Op(m_path, other.m_path, kIntersect_SkPathOp, &m_path);
}
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
bool ellipseIsRenderable(float startAngle, float endAngle) {
return (std::abs(endAngle - startAngle) < twoPiFloat) ||
WebCoreFloatNearlyEqual(std::abs(endAngle - startAngle), twoPiFloat);

Powered by Google App Engine
This is Rietveld 408576698