summaryrefslogtreecommitdiffstats
path: root/android_webview/native/aw_pdf_exporter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'android_webview/native/aw_pdf_exporter.cc')
-rw-r--r--android_webview/native/aw_pdf_exporter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/android_webview/native/aw_pdf_exporter.cc b/android_webview/native/aw_pdf_exporter.cc
index 48fa9f9..af08f1f 100644
--- a/android_webview/native/aw_pdf_exporter.cc
+++ b/android_webview/native/aw_pdf_exporter.cc
@@ -33,9 +33,9 @@ AwPdfExporter::~AwPdfExporter() {
}
void AwPdfExporter::ExportToPdf(JNIEnv* env,
- jobject obj,
+ const JavaParamRef<jobject>& obj,
int fd,
- jobject cancel_signal) {
+ const JavaParamRef<jobject>& cancel_signal) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
printing::PrintSettings print_settings;
InitPdfSettings(env, obj, print_settings);