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

Unified Diff: cc/resources/picture_layer_tiling_set.cc

Issue 816543004: Update from https://crrev.com/308996 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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_set.h ('k') | cc/resources/picture_pile_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling_set.cc
diff --git a/cc/resources/picture_layer_tiling_set.cc b/cc/resources/picture_layer_tiling_set.cc
index a3348bc72d350f608c21555cef7a60ed9da5c727..8a8dba3083c736127eb3062305210584c2d50e6b 100644
--- a/cc/resources/picture_layer_tiling_set.cc
+++ b/cc/resources/picture_layer_tiling_set.cc
@@ -56,11 +56,12 @@ PictureLayerTilingSet::~PictureLayerTilingSet() {
void PictureLayerTilingSet::UpdateTilingsToCurrentRasterSource(
RasterSource* raster_source,
const PictureLayerTilingSet* twin_set,
- const gfx::Size& layer_bounds,
const Region& layer_invalidation,
float minimum_contents_scale) {
RemoveTilingsBelowScale(minimum_contents_scale);
+ gfx::Size layer_bounds = raster_source->GetSize();
+
// Copy over tilings that are shared with the |twin_set| tiling set (if it
// exists).
if (twin_set) {
« no previous file with comments | « cc/resources/picture_layer_tiling_set.h ('k') | cc/resources/picture_pile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698