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

Unified Diff: cc/tile.cc

Issue 12353003: cc: Refactored Tile::GetResourceId (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
« cc/tile.h ('K') | « cc/tile.h ('k') | cc/tile_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile.cc
diff --git a/cc/tile.cc b/cc/tile.cc
index 22d0b99c847a6373af61df11a26bab2a493c01e4..818579128945893be96a5944179d164f808f8bea 100644
--- a/cc/tile.cc
+++ b/cc/tile.cc
@@ -45,10 +45,4 @@ scoped_ptr<base::Value> Tile::AsValue() const {
return res.PassAs<base::Value>();
}
-bool Tile::IsReadyToDraw() const {
- return GetResourceId() != 0 ||
- is_solid_color() ||
- is_transparent();
-}
-
} // namespace cc
« cc/tile.h ('K') | « cc/tile.h ('k') | cc/tile_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698