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

Unified Diff: android_webview/native/aw_contents_client_bridge.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
Index: android_webview/native/aw_contents_client_bridge.h
diff --git a/android_webview/native/aw_contents_client_bridge.h b/android_webview/native/aw_contents_client_bridge.h
index fc8799d01132b5d33cf30ddc3eddb46d966dccd1..406138d01d17a1e208800b82e4d0c8936a8ceda2 100644
--- a/android_webview/native/aw_contents_client_bridge.h
+++ b/android_webview/native/aw_contents_client_bridge.h
@@ -29,7 +29,8 @@ namespace android_webview {
// any references.
class AwContentsClientBridge : public AwContentsClientBridgeBase {
public:
- AwContentsClientBridge(JNIEnv* env, jobject obj);
+ AwContentsClientBridge(JNIEnv* env,
+ const base::android::JavaRef<jobject>& obj);
~AwContentsClientBridge() override;
// AwContentsClientBridgeBase implementation
« no previous file with comments | « android_webview/native/aw_contents_background_thread_client.cc ('k') | android_webview/native/aw_contents_client_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698