Index: content/public/browser/android/content_view_core.h |
diff --git a/content/public/browser/android/content_view_core.h b/content/public/browser/android/content_view_core.h |
index f80020d1743cdaf5cdcc64152736cee146d8d5d0..fe2fbad8bc903cf938cc6dd275d27f6a507d60bb 100644 |
--- a/content/public/browser/android/content_view_core.h |
+++ b/content/public/browser/android/content_view_core.h |
@@ -48,7 +48,7 @@ class CONTENT_EXPORT ContentViewCore { |
virtual base::android::ScopedJavaLocalRef<jobject> GetJavaObject() = 0; |
virtual ui::ViewAndroid* GetViewAndroid() const = 0; |
virtual ui::WindowAndroid* GetWindowAndroid() const = 0; |
- virtual scoped_refptr<cc::Layer> GetLayer() const = 0; |
+ virtual const scoped_refptr<cc::Layer>& GetLayer() const = 0; |
virtual void ShowPastePopup(int x, int y) = 0; |
// Request a scaled content readback. The result is passed through the |