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

Unified Diff: cc/resources/managed_tile_state.cc

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixes. 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/managed_tile_state.cc
diff --git a/cc/resources/managed_tile_state.cc b/cc/resources/managed_tile_state.cc
index fe8b192fdd736773422e68875610a70f292a5f73..5c7754897cca3d87f255a274a22082a631343f4a 100644
--- a/cc/resources/managed_tile_state.cc
+++ b/cc/resources/managed_tile_state.cc
@@ -24,7 +24,7 @@ ManagedTileState::ManagedTileState()
}
ManagedTileState::DrawingInfo::DrawingInfo()
- : mode_(TEXTURE_MODE),
+ : mode_(RESOURCE_MODE),
resource_is_being_initialized_(false),
can_be_freed_(true),
contents_swizzled_(false) {
@@ -35,7 +35,7 @@ ManagedTileState::DrawingInfo::~DrawingInfo() {
bool ManagedTileState::DrawingInfo::IsReadyToDraw() const {
switch (mode_) {
- case TEXTURE_MODE:
+ case RESOURCE_MODE:
return resource_ &&
!resource_is_being_initialized_ &&
resource_->id();

Powered by Google App Engine
This is Rietveld 408576698