summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-04-16 16:15:42 -0400
committerCary Clark <cary@android.com>2009-04-16 16:15:42 -0400
commit976ec2b1f6dd0088c2a1aa508e1e43b1917a4380 (patch)
treeb296140c02d84f16706d37c9f37677fa1973d69e
parent826212099865d38f65f224768c3f5ee68b4b6661 (diff)
downloadexternal_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.cpp2
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;