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

Unified Diff: content/browser/android/web_contents_observer_proxy.h

Issue 1489453003: jni: Pass method parameters as JavaParamRef in content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: content/browser/android/web_contents_observer_proxy.h
diff --git a/content/browser/android/web_contents_observer_proxy.h b/content/browser/android/web_contents_observer_proxy.h
index a366cfb77e0e70464edb2b86130af7890e22e1be..4c61bb2ee5c6e12568eb44dc81adfd62f3deb2b9 100644
--- a/content/browser/android/web_contents_observer_proxy.h
+++ b/content/browser/android/web_contents_observer_proxy.h
@@ -27,7 +27,7 @@ class WebContentsObserverProxy : public WebContentsObserver {
WebContentsObserverProxy(JNIEnv* env, jobject obj, WebContents* web_contents);
~WebContentsObserverProxy() override;
- void Destroy(JNIEnv* env, jobject obj);
+ void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& obj);
private:
void RenderViewReady() override;

Powered by Google App Engine
This is Rietveld 408576698