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

Unified Diff: cc/resources/display_list_raster_source.h

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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 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
« 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