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

Unified Diff: cc/playback/skip_image_canvas.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build Created 3 years, 11 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
Index: cc/playback/skip_image_canvas.h
diff --git a/cc/playback/skip_image_canvas.h b/cc/playback/skip_image_canvas.h
index 67206b7cb91991b73225ef89506c5aeca187b9bb..b89cb81d1f008d539b050d6a0dfdae1082820144 100644
--- a/cc/playback/skip_image_canvas.h
+++ b/cc/playback/skip_image_canvas.h
@@ -5,20 +5,25 @@
#ifndef CC_PLAYBACK_SKIP_IMAGE_CANVAS_H_
#define CC_PLAYBACK_SKIP_IMAGE_CANVAS_H_
+#include "cc/paint/paint_canvas.h"
+#include "cc/paint/paint_flags.h"
+#include "cc/paint/paint_record.h"
+
#include "third_party/skia/include/utils/SkPaintFilterCanvas.h"
namespace cc {
class SkipImageCanvas : public SkPaintFilterCanvas {
public:
- explicit SkipImageCanvas(SkCanvas* canvas);
+ explicit SkipImageCanvas(PaintCanvas* canvas);
danakj 2017/01/20 23:34:13 do these make sense cuz it's inheriting from a SkC
enne (OOO) 2017/01/24 01:51:27 I had a thought of how I could make this work in t
private:
- bool onFilter(SkTCopyOnFirstWrite<SkPaint>* paint, Type type) const override;
+ bool onFilter(SkTCopyOnFirstWrite<PaintFlags>* paint,
+ Type type) const override;
- void onDrawPicture(const SkPicture* picture,
+ void onDrawPicture(const PaintRecord* picture,
const SkMatrix* matrix,
- const SkPaint* paint) override;
+ const PaintFlags* paint) override;
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698