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

Unified Diff: cc/playback/float_clip_display_item.h

Issue 1138923005: Remove SK_LEGACY_DRAWPICTURECALLBACK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: analysis_canvas_unittest fix Created 5 years, 7 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
« no previous file with comments | « cc/playback/filter_display_item.cc ('k') | cc/playback/float_clip_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2812189ff61d79aa629b732319972eb918d04d35..94733c534c3a0eacdebb465a3dc377b30394c2af 100644
--- a/cc/playback/float_clip_display_item.h
+++ b/cc/playback/float_clip_display_item.h
@@ -13,7 +13,6 @@
#include "ui/gfx/geometry/rect_f.h"
class SkCanvas;
-class SkDrawPictureCallback;
namespace cc {
@@ -24,7 +23,8 @@ class CC_EXPORT FloatClipDisplayItem : public DisplayItem {
void SetNew(const gfx::RectF& clip_rect);
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
+ void Raster(SkCanvas* canvas,
+ SkPicture::AbortCallback* callback) const override;
void AsValueInto(base::trace_event::TracedValue* array) const override;
private:
@@ -40,7 +40,8 @@ class CC_EXPORT EndFloatClipDisplayItem : public DisplayItem {
return make_scoped_ptr(new EndFloatClipDisplayItem());
}
- void Raster(SkCanvas* canvas, SkDrawPictureCallback* callback) const override;
+ void Raster(SkCanvas* canvas,
+ SkPicture::AbortCallback* callback) const override;
void AsValueInto(base::trace_event::TracedValue* array) const override;
};
« no previous file with comments | « cc/playback/filter_display_item.cc ('k') | cc/playback/float_clip_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698