Chromium Code Reviews| 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 f095231381858bcde5f44c6b1e71bd3f51fdb2bd..576b22f63ea447a00e36fb1d48b5d0e15f885994 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); |
| + CreateFromDisplayListRecordingSource(const DisplayListRecordingSource* other, |
| + bool can_use_lcd_text); |
| // RasterSource overrides. |
| void PlaybackToCanvas(SkCanvas* canvas, |
| @@ -52,10 +52,14 @@ 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(); |
| - explicit DisplayListRasterSource(const DisplayListRecordingSource* other); |
| + explicit DisplayListRasterSource(const DisplayListRecordingSource* other, |
|
Ian Vollick
2015/02/18 09:12:10
nit: don't need the explicits.
enne (OOO)
2015/02/18 19:22:23
Welcome to C++11!
I'll un-explicit them for consi
Ian Vollick
2015/02/18 19:58:13
Oh cool! Sorry, I'd assumed this was an oversight
|
| + bool can_use_lcd_text); |
| + explicit DisplayListRasterSource(const DisplayListRasterSource* other, |
| + bool can_use_lcd_text); |
| ~DisplayListRasterSource() override; |
| // These members are const as this raster source may be in use on another |