| Index: cc/trees/layer_tree_host_impl.h
|
| diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
|
| index bffdc5cf131f4c0be6af7013a30686655837a898..66be11fbd099be05accf21f22ab8e1861b9133e0 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -354,6 +354,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| std::unique_ptr<EvictionTilePriorityQueue> BuildEvictionQueue(
|
| TreePriority tree_priority) override;
|
| void SetIsLikelyToRequireADraw(bool is_likely_to_require_a_draw) override;
|
| + gfx::ColorSpace GetTileColorSpace() const override;
|
|
|
| // ScrollbarAnimationControllerClient implementation.
|
| void PostDelayedScrollbarAnimationTask(const base::Closure& task,
|
| @@ -434,7 +435,7 @@ class CC_EXPORT LayerTreeHostImpl
|
| LayerTreeImpl* recycle_tree() { return recycle_tree_.get(); }
|
| const LayerTreeImpl* recycle_tree() const { return recycle_tree_.get(); }
|
| // Returns the tree LTH synchronizes with.
|
| - LayerTreeImpl* sync_tree() {
|
| + LayerTreeImpl* sync_tree() const {
|
| // TODO(enne): This is bogus. It should return based on the value of
|
| // CommitToActiveTree() and not whether the pending tree exists.
|
| return pending_tree_ ? pending_tree_.get() : active_tree_.get();
|
|
|