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

Unified Diff: cc/resources/picture_pile_impl.h

Issue 684543006: cc: Toggle LCD text at raster time instead of record time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcdraster: initvar Created 6 years, 1 month 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
Index: cc/resources/picture_pile_impl.h
diff --git a/cc/resources/picture_pile_impl.h b/cc/resources/picture_pile_impl.h
index b4209e3eaa9740d23877f311ff0824211c38f474..d7d03999774fb63c40818315d09316eabf3b1b0d 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -61,6 +61,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
bool IsSolidColor() const override;
SkColor GetSolidColor() const override;
bool HasRecordings() const override;
+ bool CanUseLCDText() const override;
// Tracing functionality.
void DidBeginTracing() override;
@@ -110,6 +111,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
TilingData tiling_;
SkColor background_color_;
bool requires_clear_;
+ bool can_use_lcd_text_;
bool is_solid_color_;
SkColor solid_color_;
gfx::Rect recorded_viewport_;

Powered by Google App Engine
This is Rietveld 408576698