Index: cc/resources/picture_layer_tiling.cc |
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc |
index 04b18c311835d0b8b26c9bb1c1e035ef6c8c0200..9d8ea84e6966d715afecaff0588fc97e584c2b7c 100644 |
--- a/cc/resources/picture_layer_tiling.cc |
+++ b/cc/resources/picture_layer_tiling.cc |
@@ -168,6 +168,7 @@ void PictureLayerTiling::CreateMissingTilesInLiveTilesRect() { |
} |
void PictureLayerTiling::UpdateTilesToCurrentRasterSource( |
+ RasterSource* raster_source, |
const Region& layer_invalidation, |
const gfx::Size& new_layer_bounds) { |
DCHECK(!new_layer_bounds.IsEmpty()); |
@@ -249,7 +250,6 @@ void PictureLayerTiling::UpdateTilesToCurrentRasterSource( |
Invalidate(layer_invalidation); |
} |
- RasterSource* raster_source = client_->GetRasterSource(); |
for (TileMap::const_iterator it = tiles_.begin(); it != tiles_.end(); ++it) |
it->second->set_raster_source(raster_source); |
VerifyLiveTilesRect(); |
@@ -537,7 +537,6 @@ gfx::Rect PictureLayerTiling::ComputeSkewport( |
} |
void PictureLayerTiling::ComputeTilePriorityRects( |
- WhichTree tree, |
const gfx::Rect& viewport_in_layer_space, |
float ideal_contents_scale, |
double current_frame_time_in_seconds, |