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

Unified Diff: android_webview/native/aw_contents.h

Issue 2295693004: Pass JavaRef to Java methods in android_webview. (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « android_webview/native/aw_autofill_client.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_contents.h
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h
index 2fe7aae90605300ac82b99891c6c2e5a88fcbae5..68b9ef4fbe60db863ab20bd1066611a824151294 100644
--- a/android_webview/native/aw_contents.h
+++ b/android_webview/native/aw_contents.h
@@ -305,7 +305,7 @@ class AwContents : public FindHelper::Listener,
void SetSaveFormData(bool enabled);
// Sets the java client
- void SetAwAutofillClient(jobject client);
+ void SetAwAutofillClient(const base::android::JavaRef<jobject>& client);
void SetJsOnlineProperty(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
« no previous file with comments | « android_webview/native/aw_autofill_client.cc ('k') | android_webview/native/aw_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698