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

Unified Diff: cc/playback/float_clip_display_item.h

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Re-add ios changes 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 6233d3cebce044145c296b7b0f336aaea3539be7..6e582297d22292bec9f4c5e2181b2855f9775560 100644
--- a/cc/playback/float_clip_display_item.h
+++ b/cc/playback/float_clip_display_item.h
@@ -15,8 +15,6 @@
#include "cc/playback/display_item.h"
#include "ui/gfx/geometry/rect_f.h"
-class SkCanvas;
-
namespace cc {
class CC_EXPORT FloatClipDisplayItem : public DisplayItem {
@@ -24,8 +22,8 @@ class CC_EXPORT FloatClipDisplayItem : public DisplayItem {
explicit FloatClipDisplayItem(const gfx::RectF& clip_rect);
~FloatClipDisplayItem() 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;
@@ -47,8 +45,8 @@ class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem {
return base::MakeUnique<EndFloatClipDisplayItem>();
}
- 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