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

Unified Diff: cc/playback/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/compositing_display_item.cc ('k') | cc/playback/display_item_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/display_item.h
diff --git a/cc/playback/display_item.h b/cc/playback/display_item.h
index 2eedb91b5f3531024fefba7453024ea2dfb6678d..cebf66f68a61ce34e1bd1ac0220966619df35cc0 100644
--- a/cc/playback/display_item.h
+++ b/cc/playback/display_item.h
@@ -8,10 +8,10 @@
#include "base/memory/scoped_ptr.h"
#include "cc/base/cc_export.h"
#include "cc/debug/traced_value.h"
+#include "third_party/skia/include/core/SkPicture.h"
#include "ui/gfx/geometry/rect.h"
class SkCanvas;
-class SkDrawPictureCallback;
namespace cc {
@@ -29,7 +29,7 @@ class CC_EXPORT DisplayItem {
}
virtual void Raster(SkCanvas* canvas,
- SkDrawPictureCallback* callback) const = 0;
+ SkPicture::AbortCallback* callback) const = 0;
virtual void AsValueInto(base::trace_event::TracedValue* array) const = 0;
bool is_suitable_for_gpu_rasterization() const {
« no previous file with comments | « cc/playback/compositing_display_item.cc ('k') | cc/playback/display_item_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698