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

Unified Diff: android_webview/native/aw_pdf_exporter.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_message_port_service_impl.cc ('k') | android_webview/native/aw_pdf_exporter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/native/aw_pdf_exporter.h
diff --git a/android_webview/native/aw_pdf_exporter.h b/android_webview/native/aw_pdf_exporter.h
index fd67b80800e676bbe75c236b82d959aee0fcbc36..aa08b5f67d6aa7ac62cd3bf88134a97fe15b74fd 100644
--- a/android_webview/native/aw_pdf_exporter.h
+++ b/android_webview/native/aw_pdf_exporter.h
@@ -24,7 +24,7 @@ namespace android_webview {
class AwPdfExporter {
public:
AwPdfExporter(JNIEnv* env,
- jobject obj,
+ const base::android::JavaRef<jobject>& obj,
content::WebContents* web_contents);
~AwPdfExporter();
@@ -36,7 +36,7 @@ class AwPdfExporter {
private:
void InitPdfSettings(JNIEnv* env,
- jobject obj,
+ const base::android::JavaRef<jobject>& obj,
printing::PrintSettings& settings);
void DidExportPdf(int fd, bool success);
« no previous file with comments | « android_webview/native/aw_message_port_service_impl.cc ('k') | android_webview/native/aw_pdf_exporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698