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

Unified Diff: cc/debug/rasterize_and_record_benchmark_impl.cc

Issue 1051993002: cc: Remove tile sharing from tilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 8 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
Index: cc/debug/rasterize_and_record_benchmark_impl.cc
diff --git a/cc/debug/rasterize_and_record_benchmark_impl.cc b/cc/debug/rasterize_and_record_benchmark_impl.cc
index 3049103810cd093b0bcfb6f67afc6fef41d73277..b6697776c18633a36f8990b8312119918f28335e 100644
--- a/cc/debug/rasterize_and_record_benchmark_impl.cc
+++ b/cc/debug/rasterize_and_record_benchmark_impl.cc
@@ -72,9 +72,12 @@ class FixedInvalidationPictureLayerTilingClient
const Region invalidation)
: base_client_(base_client), invalidation_(invalidation) {}
- scoped_refptr<Tile> CreateTile(float contents_scale,
- const gfx::Rect& content_rect) override {
- return base_client_->CreateTile(contents_scale, content_rect);
+ scoped_refptr<Tile> CreateTile(
+ float contents_scale,
+ const gfx::Rect& content_rect,
+ scoped_refptr<RasterSource>* raster_source) override {
+ return base_client_->CreateTile(contents_scale, content_rect,
+ raster_source);
}
gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override {

Powered by Google App Engine
This is Rietveld 408576698