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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 640063010: cc: Don't swap PictureLayerTilingSet on activate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: noswap: perftest 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
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index daa04851d9c22f8759e283d5fd0d9d048b3f22bb..e20e81436fe7085107f8fbf10aa1cb45d6c12b41 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -130,9 +130,9 @@ class CC_EXPORT PictureLayerTiling {
const Region& layer_invalidation,
const gfx::Size& new_layer_bounds);
void CreateMissingTilesInLiveTilesRect();
- void RemoveTilesInRegion(const Region& layer_region);
- void SetClient(PictureLayerTilingClient* client);
+ void CreateSharedTilesFromPending(const PictureLayerTiling& other);
+
void set_resolution(TileResolution resolution) { resolution_ = resolution; }
TileResolution resolution() const { return resolution_; }
void set_can_require_tiles_for_activation(bool can_require_tiles) {

Powered by Google App Engine
This is Rietveld 408576698