summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/PictureSet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/jni/PictureSet.cpp')
-rw-r--r--WebKit/android/jni/PictureSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebKit/android/jni/PictureSet.cpp b/WebKit/android/jni/PictureSet.cpp
index ac3f38a..e8fcba5 100644
--- a/WebKit/android/jni/PictureSet.cpp
+++ b/WebKit/android/jni/PictureSet.cpp
@@ -263,7 +263,7 @@ bool PictureSet::draw(SkCanvas* canvas)
SkPath pathClip;
area.getBoundaryPath(&pathClip);
canvas->clipPath(pathClip);
- pathClip.computeBounds(&pathBounds, SkPath::kFast_BoundsType);
+ pathBounds = pathClip.getBounds();
} else {
pathBounds.set(area.getBounds());
canvas->clipRect(pathBounds);