diff options
author | ernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-09 04:04:09 +0000 |
---|---|---|
committer | ernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-09 04:04:09 +0000 |
commit | 922c6e1ff0af52496f5c33f9adef9d7944c02147 (patch) | |
tree | 722edd95e8d63eebaa3f9e84023a32c8fad1830a /cc/test/fake_picture_pile_impl.cc | |
parent | 6286a3798e51456de431d03d184a2f13ee5f2545 (diff) | |
download | chromium_src-922c6e1ff0af52496f5c33f9adef9d7944c02147.zip chromium_src-922c6e1ff0af52496f5c33f9adef9d7944c02147.tar.gz chromium_src-922c6e1ff0af52496f5c33f9adef9d7944c02147.tar.bz2 |
cc: Removed unused metrics from RenderingStats.
- Removed everything except for frame count, paint/record/rasterize time and
pixel count.
- Cleaned up variable naming.
- Removed RasterStats struct. Replaced by direct usage of
RenderingStatsInstrumentation.
R=nduca@chromium.org
BUG=234308,280638
Review URL: https://codereview.chromium.org/26031002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227666 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_picture_pile_impl.cc')
-rw-r--r-- | cc/test/fake_picture_pile_impl.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cc/test/fake_picture_pile_impl.cc b/cc/test/fake_picture_pile_impl.cc index 01b481f..03084ed 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)); |