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

Unified Diff: cc/resources/tile_manager.h

Issue 860813002: Remove the default format from ResourcePool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile error in another perftest. Created 5 years, 11 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_manager.h
diff --git a/cc/resources/tile_manager.h b/cc/resources/tile_manager.h
index cdab9e69cb69fc8f39a70f2bac68dca74264a0cc..d011c10159d497e0701535bbcfffd5cbabab7c1a 100644
--- a/cc/resources/tile_manager.h
+++ b/cc/resources/tile_manager.h
@@ -139,7 +139,7 @@ class CC_EXPORT TileManager : public TileTaskRunnerClient,
TileDrawInfo& draw_info = tiles[i]->draw_info();
draw_info.resource_ =
resource_pool_->AcquireResource(tiles[i]->desired_texture_size(),
- resource_pool_->default_format());
+ resource_format_);
}
}

Powered by Google App Engine
This is Rietveld 408576698