Index: cc/layers/picture_layer_impl.h |
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h |
index 8a2465a15bc380c240027b54323e4757fb50f998..847870794e1ef3d827fc5921403bac206d925092 100644 |
--- a/cc/layers/picture_layer_impl.h |
+++ b/cc/layers/picture_layer_impl.h |
@@ -156,15 +156,9 @@ class CC_EXPORT PictureLayerImpl |
bool nearest_neighbor_; |
- // Any draw properties derived from |transform|, |viewport|, and |clip| |
- // parameters in LayerTreeHostImpl::OnDraw are not valid for prioritizing |
- // tiles during resourceless software draws. This is because resourceless |
- // software draws can have wildly different transforms/viewports from regular |
- // draws. Save a copy of the required draw properties of the last frame that |
- // has a valid viewport for prioritizing tiles. |
- gfx::Rect visible_rect_for_tile_priority_; |
+ // Use this instead of |visible_layer_rect()| for tiling calculations. This |
+ // takes external viewport and transform for tile priority into account. |
gfx::Rect viewport_rect_for_tile_priority_in_content_space_; |
- gfx::Transform screen_space_transform_for_tile_priority_; |
gfx::Size gpu_raster_max_texture_size_; |