| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index a0af3536a21a22ffcc5e4d6019af07987172b41a..1376cdf6b5ec4b19aebd7f1168b88c25d401f620 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -930,7 +930,7 @@ bool LayerTreeImpl::UpdateDrawProperties(bool update_lcd_text) {
|
|
|
| // For max_texture_size. When a new output surface is received the needs
|
| // update draw properties flag is set again.
|
| - if (!layer_tree_host_impl_->output_surface())
|
| + if (!layer_tree_host_impl_->compositor_frame_sink())
|
| return false;
|
|
|
| // Clear this after the renderer early out, as it should still be
|
| @@ -1267,11 +1267,7 @@ const LayerTreeDebugState& LayerTreeImpl::debug_state() const {
|
| }
|
|
|
| ContextProvider* LayerTreeImpl::context_provider() const {
|
| - return output_surface()->context_provider();
|
| -}
|
| -
|
| -OutputSurface* LayerTreeImpl::output_surface() const {
|
| - return layer_tree_host_impl_->output_surface();
|
| + return layer_tree_host_impl_->compositor_frame_sink()->context_provider();
|
| }
|
|
|
| ResourceProvider* LayerTreeImpl::resource_provider() const {
|
|
|