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 01b481f87a3ce8832ba10eb2b624c5ffecd9bf04..03084ed7bef3913c668be42c82d4b7b52427586a 100644 |
--- a/cc/test/fake_picture_pile_impl.cc |
+++ b/cc/test/fake_picture_pile_impl.cc |
@@ -7,7 +7,6 @@ |
#include <limits> |
#include <utility> |
-#include "cc/test/fake_rendering_stats_instrumentation.h" |
#include "cc/test/impl_side_painting_settings.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -63,11 +62,9 @@ void FakePicturePileImpl::AddRecordingAt(int x, int y) { |
gfx::Rect bounds(tiling().TileBounds(x, y)); |
bounds.Inset(-buffer_pixels(), -buffer_pixels()); |
- FakeRenderingStatsInstrumentation stats_instrumentation; |
- |
scoped_refptr<Picture> picture(Picture::Create(bounds)); |
picture->Record(&client_, tile_grid_info_); |
- picture->GatherPixelRefs(tile_grid_info_, &stats_instrumentation); |
+ picture->GatherPixelRefs(tile_grid_info_); |
picture_list_map_[std::pair<int, int>(x, y)].push_back(picture); |
EXPECT_TRUE(HasRecordingAt(x, y)); |