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

Unified Diff: cc/resources/tile.h

Issue 13665003: cc: Moved contents_swizzled out of TileManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
Index: cc/resources/tile.h
diff --git a/cc/resources/tile.h b/cc/resources/tile.h
index 8d47da76f316f8d463ea879b031d07e26728f97b..c2de9e32871855ab6368c3f53774762811a3ccb7 100644
--- a/cc/resources/tile.h
+++ b/cc/resources/tile.h
@@ -75,7 +75,6 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
const ManagedTileState& managed_state() const { return managed_state_; }
inline size_t bytes_consumed_if_allocated() const {
- DCHECK(format_ == GL_RGBA);
return 4 * tile_size_.width() * tile_size_.height();
}
@@ -87,7 +86,6 @@ class CC_EXPORT Tile : public base::RefCounted<Tile> {
TileManager* tile_manager_;
scoped_refptr<PicturePileImpl> picture_pile_;
gfx::Rect tile_size_;
- GLenum format_;
gfx::Rect content_rect_;
float contents_scale_;
gfx::Rect opaque_rect_;

Powered by Google App Engine
This is Rietveld 408576698