Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6592)

Unified Diff: android_webview/native/aw_contents.h

Issue 831523005: Remove most native WebContents references from Java (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Kept same error checking behavior for aw_contents.cc Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 4a4afbbe981f25b935f9bc46690c6ee6b8fa4a4e..d91a15090c7f03ef093eb02271e1b5ee971f9722 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -88,7 +88,8 @@ class AwContents : public FindHelper::Listener,
jobject contents_client_bridge,
jobject io_thread_client,
jobject intercept_navigation_delegate);
- jlong GetWebContents(JNIEnv* env, jobject obj);
+ base::android::ScopedJavaLocalRef<jobject> GetWebContents(JNIEnv* env,
+ jobject obj);
void Destroy(JNIEnv* env, jobject obj);
void DocumentHasImages(JNIEnv* env, jobject obj, jobject message);

Powered by Google App Engine
This is Rietveld 408576698