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

Unified Diff: cc/resources/tile.h

Issue 13726013: Smart layer invalidation for LCD text. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 8d47da76f316f8d463ea879b031d07e26728f97b..95238b5c82315d914407d66588add54423707c19 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -56,6 +56,9 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
}
const gfx::Rect& opaque_rect() const { return opaque_rect_; }
+ const bool has_text() const {
+ return managed_state_.picture_pile_analysis.has_text;
+ }
float contents_scale() const { return contents_scale_; }
gfx::Rect content_rect() const { return content_rect_; }

Powered by Google App Engine
This is Rietveld 408576698