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
This commit is contained in:
parent
4259ef3dbd
commit
40258a5be9
@ -50,10 +50,6 @@ protected:
|
||||
canvas->restore();
|
||||
}
|
||||
|
||||
virtual uint32_t onGetFlags() const {
|
||||
return kSkipPipe_Flag;
|
||||
}
|
||||
|
||||
private:
|
||||
/** Draw an arbitrary rectangle at a given location and label it with some
|
||||
* text. */
|
||||
|
@ -1141,6 +1141,7 @@ void SkGPipeCanvas::writePaint(const SkPaint& paint) {
|
||||
fWriter.write32(size);
|
||||
fWriter.write(storage.get(), size);
|
||||
}
|
||||
base.setAnnotation(paint.getAnnotation());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user