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

Unified Diff: cc/resources/picture_layer_tiling.cc

Issue 666273002: cc: Added raster source. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reviews Created 6 years, 2 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/picture_layer_tiling.cc
diff --git a/cc/resources/picture_layer_tiling.cc b/cc/resources/picture_layer_tiling.cc
index 4dc46e0820b04062bbb8621ed8ef32985a51d4bc..0c370de319c310cf835f4290f58aa71a86c49a54 100644
--- a/cc/resources/picture_layer_tiling.cc
+++ b/cc/resources/picture_layer_tiling.cc
@@ -247,9 +247,9 @@ void PictureLayerTiling::UpdateTilesToCurrentPile(
Invalidate(layer_invalidation);
}
- PicturePileImpl* pile = client_->GetPile();
+ RasterSource* raster_source = client_->GetRasterSource();
for (TileMap::const_iterator it = tiles_.begin(); it != tiles_.end(); ++it)
- it->second->set_picture_pile(pile);
+ it->second->set_raster_source(raster_source);
VerifyLiveTilesRect();
}

Powered by Google App Engine
This is Rietveld 408576698