| 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 12117bf5dfb550bd2c74e98536ec886e33082f82..8475a410a25f4dcae910d577f114988af3fe5aee 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_;
|
| }
|
|
|
| // ----------------------------------------------------------------------------
|
|
|