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

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

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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
« no previous file with comments | « Source/platform/graphics/Path.h ('k') | Source/platform/image-decoders/ImageFrame.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/Path.cpp
diff --git a/Source/platform/graphics/Path.cpp b/Source/platform/graphics/Path.cpp
index 1fb35c058621dc9bf19e4bf90f3aaed9956b8a72..44c455e4e2a03f67516310829b6238b8bd9e3d06 100644
--- a/Source/platform/graphics/Path.cpp
+++ b/Source/platform/graphics/Path.cpp
@@ -487,7 +487,7 @@ bool Path::unionPath(const Path& other)
return Op(m_path, other.m_path, kUnion_PathOp, &m_path);
}
-#if !ASSERT_DISABLED
+#if ASSERT_ENABLED
bool ellipseIsRenderable(float startAngle, float endAngle)
{
return (std::abs(endAngle - startAngle) < twoPiFloat)
« no previous file with comments | « Source/platform/graphics/Path.h ('k') | Source/platform/image-decoders/ImageFrame.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698