aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/SkAAClip.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkAAClip.cpp b/src/core/SkAAClip.cpp
index 64c27284a4..fe0fb286dc 100644
--- a/src/core/SkAAClip.cpp
+++ b/src/core/SkAAClip.cpp
@@ -1735,6 +1735,7 @@ bool SkAAClip::translate(int dx, int dy, SkAAClip* dst) const {
if (this != dst) {
sk_atomic_inc(&fRunHead->fRefCnt);
+ dst->freeRuns();
dst->fRunHead = fRunHead;
dst->fBounds = fBounds;
}