| Index: cc/resources/picture_pile_unittest.cc
|
| diff --git a/cc/resources/picture_pile_unittest.cc b/cc/resources/picture_pile_unittest.cc
|
| index 882bbf457f133772bc7994455c095de9b1c8018f..833cc1951f5cd2eacef15761826e0571b55e6f9b 100644
|
| --- a/cc/resources/picture_pile_unittest.cc
|
| +++ b/cc/resources/picture_pile_unittest.cc
|
| @@ -40,11 +40,19 @@ class PicturePileTestBase {
|
|
|
| bool UpdateAndExpandInvalidation(Region* invalidation,
|
| const gfx::Size& layer_size,
|
| - const gfx::Rect& visible_layer_rect) {
|
| + const gfx::Rect& visible_layer_rect,
|
| + int* recorded_area) {
|
| frame_number_++;
|
| - return pile_.UpdateAndExpandInvalidation(&client_, invalidation, layer_size,
|
| - visible_layer_rect, frame_number_,
|
| - RecordingSource::RECORD_NORMALLY);
|
| + return pile_.UpdateAndExpandInvalidation(
|
| + &client_, invalidation, layer_size, visible_layer_rect, frame_number_,
|
| + RecordingSource::RECORD_NORMALLY, recorded_area);
|
| + }
|
| +
|
| + bool UpdateAndExpandInvalidation(Region* invalidation,
|
| + const gfx::Size& layer_size,
|
| + const gfx::Rect& visible_layer_rect) {
|
| + return UpdateAndExpandInvalidation(invalidation, layer_size,
|
| + visible_layer_rect, nullptr);
|
| }
|
|
|
| bool UpdateWholePile() {
|
|
|