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 49ef660a328d0567455dd346f7d9873e27876864..2823fda6aeaffdc3423066bfea4af03b217eab5b 100644 |
--- a/cc/layers/picture_layer_impl_unittest.cc |
+++ b/cc/layers/picture_layer_impl_unittest.cc |
@@ -9,6 +9,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/trees/layer_tree_impl.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/skia/include/core/SkDevice.h" |
@@ -100,7 +101,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)); |