aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-15 17:05:38 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-05-15 17:05:38 +0000
commit9e25dbf589539dd44244bc2581590bd7591e17a2 (patch)
treebb8cfbe34708d7f1761e7ceb9ad33bdfe881aae6 /include
parent2470b25ac858d2262943aaaa0f7e25da5dbeba1c (diff)
remove null-check in SKPath::Iter::next() -- not needed, and slows us down a little
git-svn-id: http://skia.googlecode.com/svn/trunk@3944 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 27a2fa275f..4453abd482 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -714,7 +714,7 @@ public:
SkBool8 fCloseLine;
SkBool8 fSegmentState;
- bool cons_moveTo(SkPoint pts[1]);
+ inline const SkPoint& cons_moveTo();
Verb autoClose(SkPoint pts[2]);
void consumeDegenerateSegments();
};