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

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: Rebase and removed unused CheckForPendingSetPixelsCompletion(). 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
Index: cc/tile.h
diff --git a/cc/tile.h b/cc/tile.h
index f3702f7861951e790bd331cb3a73a2cbbca86e43..4385d49b060133738cf542fc7727d268a82a4720 100644
--- a/cc/tile.h
+++ b/cc/tile.h
@@ -46,7 +46,7 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
// Returns 0 if not drawable.
ResourceProvider::ResourceId resource_id() const {
- return managed_state_.resource ? managed_state_.resource->id() : 0;
+ return managed_state_.resource_id;
}
const gfx::Rect& opaque_rect() const { return opaque_rect_; }

Powered by Google App Engine
This is Rietveld 408576698