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

Unified Diff: cc/resources/display_list_raster_source.h

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl Created 5 years, 10 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/resources/display_item_list_unittest.cc ('k') | cc/resources/display_list_raster_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..44177fba41f0608905b62c1b097097ded0567888 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);
+ DisplayListRasterSource(const DisplayListRecordingSource* other,
+ bool can_use_lcd_text);
+ 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
« no previous file with comments | « cc/resources/display_item_list_unittest.cc ('k') | cc/resources/display_list_raster_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698