summaryrefslogtreecommitdiffstats
path: root/cc/layers/picture_layer_impl.h
diff options
context:
space:
mode:
authorvmpstr <vmpstr@chromium.org>2015-05-04 13:55:32 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-04 20:55:59 +0000
commit5d298abf9250016eee5641c1a31f0f82b38d3907 (patch)
tree1fe0a549e7ff5694468f8de05d99121c79128a0b /cc/layers/picture_layer_impl.h
parent0dd23807c5d3ad3e790348ee49e067060f56d60d (diff)
downloadchromium_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.h4
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,