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

Side by Side Diff: cc/trees/layer_tree_impl.cc

Issue 500123003: Remove implicit conversions from scoped_refptr to T* in cc/trees/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 6 years, 4 months 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/trees/layer_tree_impl.h" 5 #include "cc/trees/layer_tree_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <set> 8 #include <set>
9 9
10 #include "base/debug/trace_event.h" 10 #include "base/debug/trace_event.h"
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 651
652 const LayerTreeSettings& LayerTreeImpl::settings() const { 652 const LayerTreeSettings& LayerTreeImpl::settings() const {
653 return layer_tree_host_impl_->settings(); 653 return layer_tree_host_impl_->settings();
654 } 654 }
655 655
656 const RendererCapabilitiesImpl& LayerTreeImpl::GetRendererCapabilities() const { 656 const RendererCapabilitiesImpl& LayerTreeImpl::GetRendererCapabilities() const {
657 return layer_tree_host_impl_->GetRendererCapabilities(); 657 return layer_tree_host_impl_->GetRendererCapabilities();
658 } 658 }
659 659
660 ContextProvider* LayerTreeImpl::context_provider() const { 660 ContextProvider* LayerTreeImpl::context_provider() const {
661 return output_surface()->context_provider(); 661 return output_surface()->context_provider().get();
662 } 662 }
663 663
664 OutputSurface* LayerTreeImpl::output_surface() const { 664 OutputSurface* LayerTreeImpl::output_surface() const {
665 return layer_tree_host_impl_->output_surface(); 665 return layer_tree_host_impl_->output_surface();
666 } 666 }
667 667
668 ResourceProvider* LayerTreeImpl::resource_provider() const { 668 ResourceProvider* LayerTreeImpl::resource_provider() const {
669 return layer_tree_host_impl_->resource_provider(); 669 return layer_tree_host_impl_->resource_provider();
670 } 670 }
671 671
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 1407
1408 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) { 1408 void LayerTreeImpl::UnregisterPictureLayerImpl(PictureLayerImpl* layer) {
1409 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer); 1409 layer_tree_host_impl_->UnregisterPictureLayerImpl(layer);
1410 } 1410 }
1411 1411
1412 void LayerTreeImpl::InputScrollAnimationFinished() { 1412 void LayerTreeImpl::InputScrollAnimationFinished() {
1413 layer_tree_host_impl_->ScrollEnd(); 1413 layer_tree_host_impl_->ScrollEnd();
1414 } 1414 }
1415 1415
1416 } // namespace cc 1416 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | cc/trees/tree_synchronizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698