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

Unified Diff: cc/tiles/picture_layer_tiling_set.h

Issue 2565643002: [5/5] Add translated rasterization for PictureLayerImpl (Closed)
Patch Set: rebase && add unittests for slot conflict resolution and raster translation update policy Created 3 years, 9 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/tiles/picture_layer_tiling_set.h
diff --git a/cc/tiles/picture_layer_tiling_set.h b/cc/tiles/picture_layer_tiling_set.h
index f84abc71a9be6037fdd58752797e2a273abf367f..82153e31501f372835e2c7496d636b69873e1efc 100644
--- a/cc/tiles/picture_layer_tiling_set.h
+++ b/cc/tiles/picture_layer_tiling_set.h
@@ -107,6 +107,9 @@ class CC_EXPORT PictureLayerTilingSet {
// the aspect ratio.
float GetMaximumContentsScale() const;
+ // Remove one tiling.
+ void Remove(PictureLayerTiling* tiling);
+
// Removes all tilings with a contents scale key < |minimum_scale_key|.
void RemoveTilingsBelowScaleKey(float minimum_scale_key);
@@ -226,8 +229,6 @@ class CC_EXPORT PictureLayerTilingSet {
scoped_refptr<RasterSource> raster_source,
const Region& layer_invalidation);
- // Remove one tiling.
- void Remove(PictureLayerTiling* tiling);
void VerifyTilings(const PictureLayerTilingSet* pending_twin_set) const;
bool TilingsNeedUpdate(const gfx::Rect& required_rect_in_layer_space,
« cc/layers/picture_layer_impl_unittest.cc ('K') | « cc/test/fake_picture_layer_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698