summaryrefslogtreecommitdiffstats
path: root/cc/debug/rasterize_and_record_benchmark.cc
diff options
context:
space:
mode:
authorhendrikw <hendrikw@chromium.org>2014-11-12 15:24:34 -0800
committerCommit bot <commit-bot@chromium.org>2014-11-12 23:24:56 +0000
commit312ee8acb412671d98f3c1e7c0fc0304dc9b7fea (patch)
tree1e5654aeee74b6f9b0796f4570469b7122984def /cc/debug/rasterize_and_record_benchmark.cc
parent4ae87941c77264d9271afdf939381962c4f45bd2 (diff)
downloadchromium_src-312ee8acb412671d98f3c1e7c0fc0304dc9b7fea.zip
chromium_src-312ee8acb412671d98f3c1e7c0fc0304dc9b7fea.tar.gz
chromium_src-312ee8acb412671d98f3c1e7c0fc0304dc9b7fea.tar.bz2
cc: Remove PicturePileBase
- remove required contents of PicturePileBase into PicturePile - move as many test functions into TextPicturePile as posible and moved into separate file to share the class Review URL: https://codereview.chromium.org/714203006 Cr-Commit-Position: refs/heads/master@{#303919}
Diffstat (limited to 'cc/debug/rasterize_and_record_benchmark.cc')
-rw-r--r--cc/debug/rasterize_and_record_benchmark.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/debug/rasterize_and_record_benchmark.cc b/cc/debug/rasterize_and_record_benchmark.cc
index f24dce3..a2052ab 100644
--- a/cc/debug/rasterize_and_record_benchmark.cc
+++ b/cc/debug/rasterize_and_record_benchmark.cc
@@ -15,6 +15,7 @@
#include "cc/debug/rasterize_and_record_benchmark_impl.h"
#include "cc/layers/layer.h"
#include "cc/layers/picture_layer.h"
+#include "cc/resources/picture_pile.h"
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_host_common.h"
#include "ui/gfx/geometry/rect.h"
@@ -106,7 +107,7 @@ void RasterizeAndRecordBenchmark::RunOnLayer(PictureLayer* layer) {
gfx::Size tile_grid_size = host_->settings().default_tile_size;
SkTileGridFactory::TileGridInfo tile_grid_info;
- PicturePileBase::ComputeTileGridInfo(tile_grid_size, &tile_grid_info);
+ PicturePile::ComputeTileGridInfo(tile_grid_size, &tile_grid_info);
gfx::Rect visible_content_rect = gfx::ScaleToEnclosingRect(
layer->visible_content_rect(), 1.f / layer->contents_scale_x());