Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: cc/resources/picture_unittest.cc

Issue 26031002: cc: Remove unused metrics from RenderingStats. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed raster_worker_pool_perftest.cc Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/resources/picture_pile_impl_unittest.cc ('k') | cc/resources/raster_worker_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « cc/resources/picture_pile_impl_unittest.cc ('k') | cc/resources/raster_worker_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698