Index: cc/resources/picture_layer_tiling.h |
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h |
index e0a368df236c962213582ecf6aa86b2ed27837e4..808d57586d30bf2e8e768ee7c26eecbedc7a025e 100644 |
--- a/cc/resources/picture_layer_tiling.h |
+++ b/cc/resources/picture_layer_tiling.h |
@@ -162,6 +162,10 @@ class CC_EXPORT PictureLayerTiling { |
return all_tiles; |
} |
+ const gfx::Rect& GetCurrentVisibleRectForTesting() const { |
+ return current_visible_rect_; |
+ } |
+ |
// Iterate over all tiles to fill content_rect. Even if tiles are invalid |
// (i.e. no valid resource) this tiling should still iterate over them. |
// The union of all geometry_rect calls for each element iterated over should |