diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-29 19:23:26 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-29 19:23:26 +0000 |
commit | 40258a5be9afe3820bdc6aed4dd94abff3160d94 (patch) | |
tree | af6f56a14c7cfdc74fcc2c2d9f6790c3c7699961 /src/pipe/SkGPipeWrite.cpp | |
parent | 4259ef3dbd689c4e57da0fd77bdb2a68f363839e (diff) |
Fix pipe/annotation.
We weren't keeping track of the annotation that's on the other side of the pipe.
BUG=skia:1761
R=scroggo@google.com
Author: mtklein@google.com
Review URL: https://codereview.chromium.org/48273011
git-svn-id: http://skia.googlecode.com/svn/trunk@12004 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/pipe/SkGPipeWrite.cpp')
-rw-r--r-- | src/pipe/SkGPipeWrite.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pipe/SkGPipeWrite.cpp b/src/pipe/SkGPipeWrite.cpp index 57d4a0fdc3..53b0ae55d4 100644 --- a/src/pipe/SkGPipeWrite.cpp +++ b/src/pipe/SkGPipeWrite.cpp @@ -1141,6 +1141,7 @@ void SkGPipeCanvas::writePaint(const SkPaint& paint) { fWriter.write32(size); fWriter.write(storage.get(), size); } + base.setAnnotation(paint.getAnnotation()); } } |