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

Unified Diff: cc/playback/picture_pile_impl.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/picture.cc ('k') | cc/playback/picture_pile_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/picture_pile_impl.h
diff --git a/cc/playback/picture_pile_impl.h b/cc/playback/picture_pile_impl.h
index e8be323225a3986f99d122d805903240cc7644c8..f7e17386db51de37b07955c4970a26067f3468cc 100644
--- a/cc/playback/picture_pile_impl.h
+++ b/cc/playback/picture_pile_impl.h
@@ -130,7 +130,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
typedef std::map<const Picture*, Region> PictureRegionMap;
// Called when analyzing a tile. We can use AnalysisCanvas as
- // SkDrawPictureCallback, which allows us to early out from analysis.
+ // SkPicture::AbortCallback, which allows us to early out from analysis.
void RasterForAnalysis(skia::AnalysisCanvas* canvas,
const gfx::Rect& canvas_rect,
float contents_scale) const;
@@ -141,7 +141,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
PictureRegionMap* result) const;
void RasterCommon(SkCanvas* canvas,
- SkDrawPictureCallback* callback,
+ SkPicture::AbortCallback* callback,
const gfx::Rect& canvas_rect,
float contents_scale) const;
« no previous file with comments | « cc/playback/picture.cc ('k') | cc/playback/picture_pile_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698