From 9e25dbf589539dd44244bc2581590bd7591e17a2 Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Tue, 15 May 2012 17:05:38 +0000 Subject: 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 --- include/core/SkPath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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(); }; -- cgit v1.2.3