Pass forceClose "true" to SkPath::Iter constructor in
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 17 May 2011 18:29:26 +0000 (18:29 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 17 May 2011 18:29:26 +0000 (18:29 +0000)
commit5793a1ff40bc02435f803d7e60c9551ea8688501
tree7425a266aaa52a8856089b8dbbf188be915a23f7
parentbb7f076c0c72ea7c70e75674d3aa07b3acb645d4
Pass forceClose "true" to SkPath::Iter constructor in
GrPathUtils::worstCasePointCount().  worstCasePointCount() is sometimes
returning a lower value than the number of points subsequently generated by
the path renderers.  This is because it constructs the SkPath::Iter with
forceClose set to "false", while the path renderers use one with forceClose
set to "true".  They should both be the same, and since we're filling paths, I
think it should be set "true".

Review URL:  http://codereview.appspot.com/4552047/

git-svn-id: http://skia.googlecode.com/svn/trunk@1353 2bbb7eff-a529-9590-31e7-b0007b416f81
gpu/src/GrPathUtils.cpp