Index: ui/android/view_android.h |
diff --git a/ui/android/view_android.h b/ui/android/view_android.h |
index 8b1d5fee0f0236f82b1839ed847bcdba2d1e0386..a996e6804bbc10fc38449e43b34be7937fab6942 100644 |
--- a/ui/android/view_android.h |
+++ b/ui/android/view_android.h |
@@ -86,16 +86,17 @@ |
void SetAnchorRect(const base::android::JavaRef<jobject>& anchor, |
const gfx::RectF& bounds); |
- // Returns the Java delegate for this view. This is used to delegate work |
- // up to the embedding view (or the embedder that can deal with the |
- // implementation details). |
- const JavaObjectWeakGlobalRef GetViewAndroidDelegate() const; |
- |
protected: |
ViewAndroid* parent_; |
private: |
void RemoveChild(ViewAndroid* child); |
+ |
+ // Returns the Java delegate for this view. This is used to delegate work |
+ // up to the embedding view (or the embedder that can deal with the |
+ // implementation details). |
+ const base::android::ScopedJavaLocalRef<jobject> |
+ GetViewAndroidDelegate() const; |
std::list<ViewAndroid*> children_; |
scoped_refptr<cc::Layer> layer_; |