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

Unified Diff: cc/playback/float_clip_display_item.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/float_clip_display_item.h
diff --git a/cc/playback/float_clip_display_item.h b/cc/playback/float_clip_display_item.h
index 7f39ad6315680cac5230a38f9a9ef668015c0bf6..da59ee86bb210b0eb07f7071fb5bca56100751bc 100644
--- a/cc/playback/float_clip_display_item.h
+++ b/cc/playback/float_clip_display_item.h
@@ -15,7 +15,7 @@
#include "cc/playback/display_item.h"
#include "ui/gfx/geometry/rect_f.h"
-class SkCanvas;
+class PaintCanvas;
namespace cc {
@@ -26,8 +26,8 @@ class CC_EXPORT FloatClipDisplayItem : public DisplayItem {
~FloatClipDisplayItem() override;
void ToProtobuf(proto::DisplayItem* proto) const override;
- void Raster(SkCanvas* canvas,
- SkPicture::AbortCallback* callback) const override;
+ void Raster(PaintCanvas* canvas,
+ PaintRecord::AbortCallback* callback) const override;
void AsValueInto(const gfx::Rect& visual_rect,
base::trace_event::TracedValue* array) const override;
@@ -51,8 +51,8 @@ class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem {
}
void ToProtobuf(proto::DisplayItem* proto) const override;
- void Raster(SkCanvas* canvas,
- SkPicture::AbortCallback* callback) const override;
+ void Raster(PaintCanvas* canvas,
+ PaintRecord::AbortCallback* callback) const override;
void AsValueInto(const gfx::Rect& visual_rect,
base::trace_event::TracedValue* array) const override;

Powered by Google App Engine
This is Rietveld 408576698