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

Unified Diff: cc/tile.h

Issue 11348384: cc: Use asynchronous set pixels API for impl-side painting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ManagedTileState::resource_id. Created 8 years 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/test/fake_tile_manager_client.h ('k') | cc/tile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile.h
diff --git a/cc/tile.h b/cc/tile.h
index f3702f7861951e790bd331cb3a73a2cbbca86e43..0c8e05d63e017168c772dea9bbef36bdd973810c 100644
--- a/cc/tile.h
+++ b/cc/tile.h
@@ -45,9 +45,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
void set_priority(WhichTree tree, const TilePriority& priority);
// Returns 0 if not drawable.
- ResourceProvider::ResourceId resource_id() const {
- return managed_state_.resource ? managed_state_.resource->id() : 0;
- }
+ ResourceProvider::ResourceId GetResourceId() const;
const gfx::Rect& opaque_rect() const { return opaque_rect_; }
« no previous file with comments | « cc/test/fake_tile_manager_client.h ('k') | cc/tile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698