Use double precision when iterating in SkDashPathEffect::filterPath()
authorfmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Dec 2012 22:13:58 +0000 (22:13 +0000)
committerfmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Dec 2012 22:13:58 +0000 (22:13 +0000)
commitbfa0401ab60b83abf30c7cca4c326282360948fe
tree5962fc1ff2b5d1c1fae133edd2a001f78516786b
parentb79103a954952f3562ed92f02062808a3fb605f6
Use double precision when iterating in SkDashPathEffect::filterPath()

Extremely large path_length/dash_length ratios may cause us to loop
indefinitely otherwise.

R=reed@google.com

BUG=

Review URL: https://codereview.appspot.com/6926051

git-svn-id: http://skia.googlecode.com/svn/trunk@6773 2bbb7eff-a529-9590-31e7-b0007b416f81
src/effects/SkDashPathEffect.cpp
tests/DrawPathTest.cpp