| Index: cc/resources/picture_unittest.cc
|
| diff --git a/cc/resources/picture_unittest.cc b/cc/resources/picture_unittest.cc
|
| index e7f632fbd15ddcc1c0a494dbc2af25e488e71869..99159d2d91ef2bf0ec20efe18fdfcd5a79cefe8c 100644
|
| --- a/cc/resources/picture_unittest.cc
|
| +++ b/cc/resources/picture_unittest.cc
|
| @@ -8,7 +8,6 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "cc/test/fake_content_layer_client.h"
|
| -#include "cc/test/fake_rendering_stats_instrumentation.h"
|
| #include "cc/test/skia_common.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "third_party/skia/include/core/SkCanvas.h"
|
| @@ -110,7 +109,6 @@ TEST(PictureTest, PixelRefIterator) {
|
| tile_grid_info.fOffset.setZero();
|
|
|
| FakeContentLayerClient content_layer_client;
|
| - FakeRenderingStatsInstrumentation stats_instrumentation;
|
|
|
| // Lazy pixel refs are found in the following grids:
|
| // |---|---|---|---|
|
| @@ -137,7 +135,7 @@ TEST(PictureTest, PixelRefIterator) {
|
| scoped_refptr<Picture> picture = Picture::Create(layer_rect);
|
| picture->Record(&content_layer_client,
|
| tile_grid_info);
|
| - picture->GatherPixelRefs(tile_grid_info, &stats_instrumentation);
|
| + picture->GatherPixelRefs(tile_grid_info);
|
|
|
| // Default iterator does not have any pixel refs
|
| {
|
| @@ -207,7 +205,6 @@ TEST(PictureTest, PixelRefIteratorNonZeroLayer) {
|
| tile_grid_info.fOffset.setZero();
|
|
|
| FakeContentLayerClient content_layer_client;
|
| - FakeRenderingStatsInstrumentation stats_instrumentation;
|
|
|
| // Lazy pixel refs are found in the following grids:
|
| // |---|---|---|---|
|
| @@ -234,7 +231,7 @@ TEST(PictureTest, PixelRefIteratorNonZeroLayer) {
|
| scoped_refptr<Picture> picture = Picture::Create(layer_rect);
|
| picture->Record(&content_layer_client,
|
| tile_grid_info);
|
| - picture->GatherPixelRefs(tile_grid_info, &stats_instrumentation);
|
| + picture->GatherPixelRefs(tile_grid_info);
|
|
|
| // Default iterator does not have any pixel refs
|
| {
|
| @@ -328,7 +325,6 @@ TEST(PictureTest, PixelRefIteratorOnePixelQuery) {
|
| tile_grid_info.fOffset.setZero();
|
|
|
| FakeContentLayerClient content_layer_client;
|
| - FakeRenderingStatsInstrumentation stats_instrumentation;
|
|
|
| // Lazy pixel refs are found in the following grids:
|
| // |---|---|---|---|
|
| @@ -355,7 +351,7 @@ TEST(PictureTest, PixelRefIteratorOnePixelQuery) {
|
| scoped_refptr<Picture> picture = Picture::Create(layer_rect);
|
| picture->Record(&content_layer_client,
|
| tile_grid_info);
|
| - picture->GatherPixelRefs(tile_grid_info, &stats_instrumentation);
|
| + picture->GatherPixelRefs(tile_grid_info);
|
|
|
| for (int y = 0; y < 4; ++y) {
|
| for (int x = 0; x < 4; ++x) {
|
|
|