diff options
author | Cary Clark <cary@android.com> | 2009-04-16 16:15:42 -0400 |
---|---|---|
committer | Cary Clark <cary@android.com> | 2009-04-16 16:15:42 -0400 |
commit | 976ec2b1f6dd0088c2a1aa508e1e43b1917a4380 (patch) | |
tree | b296140c02d84f16706d37c9f37677fa1973d69e | |
parent | 826212099865d38f65f224768c3f5ee68b4b6661 (diff) | |
download | external_webkit-976ec2b1f6dd0088c2a1aa508e1e43b1917a4380.zip external_webkit-976ec2b1f6dd0088c2a1aa508e1e43b1917a4380.tar.gz external_webkit-976ec2b1f6dd0088c2a1aa508e1e43b1917a4380.tar.bz2 |
pass a valid point array to close path (matches chrome)
-rw-r--r-- | WebCore/platform/graphics/android/PathAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/PathAndroid.cpp b/WebCore/platform/graphics/android/PathAndroid.cpp index 6687c2b..4ba188d 100644 --- a/WebCore/platform/graphics/android/PathAndroid.cpp +++ b/WebCore/platform/graphics/android/PathAndroid.cpp @@ -252,7 +252,7 @@ void Path::apply(void* info, PathApplierFunction function) const break; case SkPath::kClose_Verb: elem.type = PathElementCloseSubpath; - elem.points = NULL; + elem.points = setfpts(fpts, 0, 0); break; case SkPath::kDone_Verb: return; |