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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 732423002: Update from chromium https://crrev.com/304586 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/picture_layer_tiling.h ('k') | cc/resources/picture_layer_tiling_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « cc/resources/picture_layer_tiling.h ('k') | cc/resources/picture_layer_tiling_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698