Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2782)

Unified Diff: src/pipe/SkGPipeWrite.cpp

Issue 48273011: Fix pipe/annotation. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gm/internal_links.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pipe/SkGPipeWrite.cpp
diff --git a/src/pipe/SkGPipeWrite.cpp b/src/pipe/SkGPipeWrite.cpp
index 57d4a0fdc345ee57263420a44fb08ae19e7d6783..7732657ef1cd784b946c101cc355eb3d06630a6e 100644
--- a/src/pipe/SkGPipeWrite.cpp
+++ b/src/pipe/SkGPipeWrite.cpp
@@ -1127,6 +1127,7 @@ void SkGPipeCanvas::writePaint(const SkPaint& paint) {
// Do these after we've written kPaintOp_DrawOp
if (base.getAnnotation() != paint.getAnnotation()) {
+ base.setAnnotation(paint.getAnnotation());
scroggo 2013/10/29 19:06:04 nit: The other cases all modify base after recordi
mtklein 2013/10/29 19:11:31 Done, though I suspect this may be why Mike missed
if (NULL == paint.getAnnotation()) {
this->writeOp(kSetAnnotation_DrawOp, 0, 0);
} else {
« no previous file with comments | « gm/internal_links.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698