| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index b2c2f7a48d3e0e0017b025b7cd27d20ff7018ad9..c8436020404bd44d68e38dbabafcd1a800919644 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -337,7 +337,7 @@ void ContentViewCoreImpl::RenderViewHostChanged(RenderViewHost* old_host,
|
| }
|
|
|
| RenderWidgetHostViewAndroid*
|
| - ContentViewCoreImpl::GetRenderWidgetHostViewAndroid() {
|
| + ContentViewCoreImpl::GetRenderWidgetHostViewAndroid() const {
|
| RenderWidgetHostView* rwhv = NULL;
|
| if (web_contents_) {
|
| rwhv = web_contents_->GetRenderWidgetHostView();
|
| @@ -798,8 +798,8 @@ ui::WindowAndroid* ContentViewCoreImpl::GetWindowAndroid() const {
|
| return window_android_;
|
| }
|
|
|
| -scoped_refptr<cc::Layer> ContentViewCoreImpl::GetLayer() const {
|
| - return root_layer_.get();
|
| +const scoped_refptr<cc::Layer>& ContentViewCoreImpl::GetLayer() const {
|
| + return root_layer_;
|
| }
|
|
|
| // ----------------------------------------------------------------------------
|
|
|