Chromium Code Reviews| Index: cc/paint/paint_canvas.h |
| diff --git a/cc/paint/paint_canvas.h b/cc/paint/paint_canvas.h |
| index cae112e57e9951ea7f468c5c79f9a02e24e85f2c..f753af48dc18f55a05e21d12cfb03b02eda23886 100644 |
| --- a/cc/paint/paint_canvas.h |
| +++ b/cc/paint/paint_canvas.h |
| @@ -196,6 +196,10 @@ class CC_PAINT_EXPORT PaintCanvas { |
| virtual void AnnotateNamedDestination(const SkPoint& point, SkData* data) = 0; |
| virtual void AnnotateLinkToDestination(const SkRect& rect, SkData* data) = 0; |
| + // TODO(enne): ideally this should live on PaintRecord, but that's not |
|
danakj
2017/03/20 14:53:54
Or, more like this shouldn't exist really and PLS
enne (OOO)
2017/03/20 17:41:26
The cleanup here is just moving one function from
|
| + // possible when PaintRecord is a typedef. |
| + virtual void PlaybackPaintRecord(PaintRecord* record) = 0; |
|
danakj
2017/03/20 14:53:54
Can it be an sk_sp<PaintRecord> like the drawPictu
enne (OOO)
2017/03/20 17:41:26
Done done done.
|
| + |
| protected: |
| friend class PaintSurface; |
| friend class PaintRecorder; |