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

Unified Diff: chrome/browser/android/contextualsearch/contextual_search_manager.h

Issue 2315323002: Pass JavaRef to WebContents::FromJavaWebContents. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | chrome/browser/android/contextualsearch/contextual_search_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/contextualsearch/contextual_search_manager.h
diff --git a/chrome/browser/android/contextualsearch/contextual_search_manager.h b/chrome/browser/android/contextualsearch/contextual_search_manager.h
index 6465a74cdc3be842ece838f0d6489812c4e458da..f0aa73b35b0754eed3d3ac93184e48f28afcaf08 100644
--- a/chrome/browser/android/contextualsearch/contextual_search_manager.h
+++ b/chrome/browser/android/contextualsearch/contextual_search_manager.h
@@ -21,7 +21,8 @@ class ContextualSearchManager
: public contextual_search::ContextualSearchJsApiHandler {
public:
// Constructs a native manager associated with the Java manager.
- ContextualSearchManager(JNIEnv* env, jobject obj);
+ ContextualSearchManager(JNIEnv* env,
+ const base::android::JavaRef<jobject>& obj);
~ContextualSearchManager() override;
// Called by the Java ContextualSearchManager when it is being destroyed.
« no previous file with comments | « no previous file | chrome/browser/android/contextualsearch/contextual_search_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698