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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 820703002: c:: Give the raster source to the PictureLayerTilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index ed98434578f9606261a8d37130d9f54124baa167..718c0cfff08ee530bb61feae440f7879555eb560 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -68,7 +68,7 @@ class CC_EXPORT PictureLayerImpl
skia::RefPtr<SkPicture> GetPicture() override;
// PictureLayerTilingClient overrides.
- scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
+ scoped_refptr<Tile> CreateTile(float contents_scale,
const gfx::Rect& content_rect) override;
gfx::Size CalculateTileSize(const gfx::Size& content_bounds) const override;
const Region* GetPendingInvalidation() override;
@@ -105,7 +105,7 @@ class CC_EXPORT PictureLayerImpl
bool AllTilesRequiredForDrawAreReadyToDraw() const;
// Used for benchmarking
- const RasterSource* GetRasterSource() const { return raster_source_.get(); }
+ RasterSource* GetRasterSource() const { return raster_source_.get(); }
protected:
friend class LayerRasterTileIterator;

Powered by Google App Engine
This is Rietveld 408576698