Index: cc/resources/display_list_raster_source.h |
diff --git a/cc/resources/display_list_raster_source.h b/cc/resources/display_list_raster_source.h |
index 44177fba41f0608905b62c1b097097ded0567888..f095231381858bcde5f44c6b1e71bd3f51fdb2bd 100644 |
--- a/cc/resources/display_list_raster_source.h |
+++ b/cc/resources/display_list_raster_source.h |
@@ -21,9 +21,9 @@ class DisplayItemList; |
class CC_EXPORT DisplayListRasterSource : public RasterSource { |
public: |
+ static scoped_refptr<DisplayListRasterSource> Create(); |
static scoped_refptr<DisplayListRasterSource> |
- CreateFromDisplayListRecordingSource(const DisplayListRecordingSource* other, |
- bool can_use_lcd_text); |
+ CreateFromDisplayListRecordingSource(const DisplayListRecordingSource* other); |
// RasterSource overrides. |
void PlaybackToCanvas(SkCanvas* canvas, |
@@ -52,14 +52,10 @@ class CC_EXPORT DisplayListRasterSource : public RasterSource { |
skia::RefPtr<SkPicture> GetFlattenedPicture() override; |
size_t GetPictureMemoryUsage() const override; |
bool CanUseLCDText() const override; |
- scoped_refptr<RasterSource> CreateCloneWithoutLCDText() const override; |
protected: |
DisplayListRasterSource(); |
- DisplayListRasterSource(const DisplayListRecordingSource* other, |
- bool can_use_lcd_text); |
- DisplayListRasterSource(const DisplayListRasterSource* other, |
- bool can_use_lcd_text); |
+ explicit DisplayListRasterSource(const DisplayListRecordingSource* other); |
~DisplayListRasterSource() override; |
// These members are const as this raster source may be in use on another |