Index: cc/layers/picture_layer_impl_unittest.cc |
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc |
index 962d927599354b7a70ae7ae7e4ab462112416d31..afbb597c126a8a4e158eb812ccce41a94873dc54 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -11,6 +11,7 @@ |
#include "cc/test/fake_impl_proxy.h" |
#include "cc/test/fake_layer_tree_host_impl.h" |
#include "cc/test/fake_output_surface.h" |
+#include "cc/test/fake_rendering_stats_instrumentation.h" |
#include "cc/test/impl_side_painting_settings.h" |
#include "cc/trees/layer_tree_impl.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -95,7 +96,8 @@ class TestablePicturePileImpl : public PicturePileImpl { |
return; |
gfx::Rect bounds(tiling().TileBounds(x, y)); |
scoped_refptr<Picture> picture(Picture::Create(bounds)); |
- picture->Record(&client_, NULL, tile_grid_info_); |
+ FakeRenderingStatsInstrumentation stats_instrumentation; |
+ picture->Record(&client_, &stats_instrumentation, tile_grid_info_); |
picture_list_map_[std::pair<int, int>(x, y)].push_back(picture); |
EXPECT_TRUE(HasRecordingAt(x, y)); |