Index: cc/test/fake_picture_pile_impl.cc |
diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc |
index 9c58313c25fc225f3e82ae2cb49806cab0ab916f..15c1d17e886f654cf26d974bee95103adb0ca614 100644 |
--- a/cc/test/fake_picture_pile_impl.cc |
+++ b/cc/test/fake_picture_pile_impl.cc |
@@ -80,4 +80,13 @@ void FakePicturePileImpl::RemoveRecordingAt(int x, int y) { |
UpdateRecordedRegion(); |
} |
+void FakePicturePileImpl::RerecordPile() { |
+ for (int y = 0; y < num_tiles_y(); ++y) { |
+ for (int x = 0; x < num_tiles_x(); ++x) { |
+ RemoveRecordingAt(x, y); |
+ AddRecordingAt(x, y); |
+ } |
+ } |
+} |
+ |
} // namespace cc |