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

Unified Diff: cc/playback/display_list_raster_source.h

Issue 1385733002: (not for review) nwayover (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/layers/picture_layer_impl.cc ('k') | cc/playback/display_list_raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/display_list_raster_source.h
diff --git a/cc/playback/display_list_raster_source.h b/cc/playback/display_list_raster_source.h
index 8b49b670d424e0963f5b9ab9404534a02631584b..8c1b68ec8b12cdb01509b1f600bd238c6045ff81 100644
--- a/cc/playback/display_list_raster_source.h
+++ b/cc/playback/display_list_raster_source.h
@@ -54,6 +54,8 @@ class CC_EXPORT DisplayListRasterSource : public RasterSource {
size_t GetPictureMemoryUsage() const override;
bool CanUseLCDText() const override;
scoped_refptr<RasterSource> CreateCloneWithoutLCDText() const override;
+ void SetImageDecodeController(
+ ImageDecodeController* image_decode_controller) override;
protected:
DisplayListRasterSource();
@@ -80,6 +82,8 @@ class CC_EXPORT DisplayListRasterSource : public RasterSource {
// threads with multi-threaded Ganesh. Make this const or remove it.
bool should_attempt_to_use_distance_field_text_;
+ ImageDecodeController* image_decode_controller_;
+
private:
// Called when analyzing a tile. We can use AnalysisCanvas as
// SkPicture::AbortCallback, which allows us to early out from analysis.
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/playback/display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698