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

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: . 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 9f5b5f61af5b0d4ecbd75945ebc3f5a496b53594..3e565c5fbf20f7a451965c4c7097bd47fc78a034 100644
--- a/cc/resources/picture_pile_impl.h
+++ b/cc/resources/picture_pile_impl.h
@@ -60,6 +60,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
SkColor GetSolidColor() const override;
bool HasRecordings() const override;
bool IsMask() const override;
+ bool CanUseLcdText() const override;
// Tracing functionality.
void DidBeginTracing() override;
@@ -110,6 +111,7 @@ class CC_EXPORT PicturePileImpl : public RasterSource {
SkColor background_color_;
bool contents_opaque_;
bool contents_fill_bounds_completely_;
+ 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