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

Unified Diff: tests/PathOpsTestCommon.cpp

Issue 15338003: path ops -- rewrite angle sort (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | « tests/PathOpsSkpClipTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PathOpsTestCommon.cpp
===================================================================
--- tests/PathOpsTestCommon.cpp (revision 9425)
+++ tests/PathOpsTestCommon.cpp (working copy)
@@ -10,7 +10,7 @@
void CubicToQuads(const SkDCubic& cubic, double precision, SkTDArray<SkDQuad>& quads) {
SkTDArray<double> ts;
cubic.toQuadraticTs(precision, &ts);
- if (ts.count() <= 1) {
+ if (ts.count() <= 0) {
SkDQuad quad = cubic.toQuad();
*quads.append() = quad;
return;
« no previous file with comments | « tests/PathOpsSkpClipTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698