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

Unified Diff: cc/resources/tile_manager.cc

Issue 1130303004: cc: Remove unused Tile ctor parameter (raster_source). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « cc/resources/tile_manager.h ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tile_manager.cc
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc
index 442d7ad7a9a1ac1d922cdbfb5bc930555a81ef73..e28d8ceaac90990a95627cb4d8fafa3ebc2f1fef 100644
--- a/cc/resources/tile_manager.cc
+++ b/cc/resources/tile_manager.cc
@@ -751,16 +751,15 @@ void TileManager::UpdateTileDrawInfo(
client_->NotifyTileStateChanged(tile);
}
-ScopedTilePtr TileManager::CreateTile(RasterSource* raster_source,
- const gfx::Size& desired_texture_size,
+ScopedTilePtr TileManager::CreateTile(const gfx::Size& desired_texture_size,
const gfx::Rect& content_rect,
float contents_scale,
int layer_id,
int source_frame_number,
int flags) {
- ScopedTilePtr tile(new Tile(this, raster_source, desired_texture_size,
- content_rect, contents_scale, layer_id,
- source_frame_number, flags));
+ ScopedTilePtr tile(new Tile(this, desired_texture_size, content_rect,
+ contents_scale, layer_id, source_frame_number,
+ flags));
DCHECK(tiles_.find(tile->id()) == tiles_.end());
tiles_[tile->id()] = tile.get();
« no previous file with comments | « cc/resources/tile_manager.h ('k') | cc/test/fake_picture_layer_tiling_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698