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

Unified Diff: cc/layers/layer_impl.h

Issue 2026033002: cc: Remove can_use_lcd_text from draw properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/layers/draw_properties.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index f0b482cc5cbffdb7754d55fbeabb356bb809b6a4..6128f33695b696614b6933355621a8e59bdbfbf5 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -319,6 +319,8 @@ class CC_EXPORT LayerImpl {
return performance_properties_;
}
+ bool can_use_lcd_text() const;
ajuma 2016/06/01 15:38:38 Style nit: Since this isn't "simple" any more, it
sunxd 2016/06/01 15:54:48 Done.
+
// Setter for draw_properties_.
void set_visible_layer_rect(const gfx::Rect& visible_rect) {
draw_properties_.visible_layer_rect = visible_rect;
@@ -333,7 +335,6 @@ class CC_EXPORT LayerImpl {
bool screen_space_transform_is_animating() const {
return draw_properties_.screen_space_transform_is_animating;
}
- bool can_use_lcd_text() const { return draw_properties_.can_use_lcd_text; }
gfx::Rect clip_rect() const { return draw_properties_.clip_rect; }
gfx::Rect drawable_content_rect() const {
return draw_properties_.drawable_content_rect;
« no previous file with comments | « cc/layers/draw_properties.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698