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

Unified Diff: cc/playback/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 | « no previous file | cc/playback/clip_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/clip_display_item.h
diff --git a/cc/playback/clip_display_item.h b/cc/playback/clip_display_item.h
index a4acc9f9893b5392443df77a90065ee70456d264..39a1681f4869fb3b88a1aea6c3b96696e91dd1e9 100644
--- a/cc/playback/clip_display_item.h
+++ b/cc/playback/clip_display_item.h
@@ -14,7 +14,6 @@
#include "ui/gfx/geometry/rect.h"
class SkCanvas;
-class SkDrawPictureCallback;
namespace cc {
@@ -26,7 +25,8 @@ class CC_EXPORT ClipDisplayItem : public DisplayItem {
void SetNew(gfx::Rect clip_rect,
const std::vector<SkRRect>& rounded_clip_rects);
- 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:
@@ -39,7 +39,8 @@ class CC_EXPORT EndClipDisplayItem : public DisplayItem {
EndClipDisplayItem();
~EndClipDisplayItem() override;
- 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 | « no previous file | cc/playback/clip_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698