Index: content/browser/web_contents/web_contents_android.cc |
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc |
index 141a83c3fe0fc433169269556f37b10daa6ae69b..c9f073ce8cc72e323f20306defd28dc2a1ecaba9 100644 |
--- a/content/browser/web_contents/web_contents_android.cc |
+++ b/content/browser/web_contents/web_contents_android.cc |
@@ -294,6 +294,12 @@ WebContentsAndroid::GetTopLevelNativeWindow(JNIEnv* env, |
return window_android->GetJavaObject(); |
} |
+ScopedJavaLocalRef<jobject> WebContentsAndroid::GetMainFrame( |
+ JNIEnv* env, |
+ const JavaParamRef<jobject>& obj) const { |
+ return web_contents_->GetMainFrame()->GetJavaRenderFrameHost(); |
+} |
+ |
ScopedJavaLocalRef<jstring> WebContentsAndroid::GetTitle( |
JNIEnv* env, |
const JavaParamRef<jobject>& obj) const { |