diff options
author | vmpstr <vmpstr@chromium.org> | 2015-05-04 13:55:32 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-04 20:55:59 +0000 |
commit | 5d298abf9250016eee5641c1a31f0f82b38d3907 (patch) | |
tree | 1fe0a549e7ff5694468f8de05d99121c79128a0b /cc/layers/picture_layer_impl.h | |
parent | 0dd23807c5d3ad3e790348ee49e067060f56d60d (diff) | |
download | chromium_src-5d298abf9250016eee5641c1a31f0f82b38d3907.zip chromium_src-5d298abf9250016eee5641c1a31f0f82b38d3907.tar.gz chromium_src-5d298abf9250016eee5641c1a31f0f82b38d3907.tar.bz2 |
cc: Remove PictureLayerTilingClient::GetTree in favor of ctor variable.
This patch moves the current tree to be a ctor parameter to picture
layer tiling (and tiling set).
Also, this removes GetRecycledTreeTiling, since it's no longer used.
R=danakj, enne
Review URL: https://codereview.chromium.org/1117033004
Cr-Commit-Position: refs/heads/master@{#328182}
Diffstat (limited to 'cc/layers/picture_layer_impl.h')
-rw-r--r-- | cc/layers/picture_layer_impl.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h index bd13949..f61d45f 100644 --- a/cc/layers/picture_layer_impl.h +++ b/cc/layers/picture_layer_impl.h @@ -70,10 +70,7 @@ class CC_EXPORT PictureLayerImpl const Region* GetPendingInvalidation() override; const PictureLayerTiling* GetPendingOrActiveTwinTiling( const PictureLayerTiling* tiling) const override; - PictureLayerTiling* GetRecycledTwinTiling( - const PictureLayerTiling* tiling) override; TilePriority::PriorityBin GetMaxTilePriorityBin() const override; - WhichTree GetTree() const override; bool RequiresHighResToDraw() const override; gfx::Rect GetEnclosingRectInTargetSpace() const override; @@ -86,6 +83,7 @@ class CC_EXPORT PictureLayerImpl bool UpdateTiles(bool resourceless_software_draw); void UpdateCanUseLCDTextAfterCommit(); bool RasterSourceUsesLCDText() const; + WhichTree GetTree() const; // Mask-related functions. void GetContentsResourceId(ResourceProvider::ResourceId* resource_id, |