Index: components/dom_distiller/content/browser/distillable_page_utils_android.cc |
diff --git a/components/dom_distiller/content/browser/distillable_page_utils_android.cc b/components/dom_distiller/content/browser/distillable_page_utils_android.cc |
index bf1f80dbe17cca72b5bac8b267b9f84ee12c1d7e..56dfffaf18ec47497acac7f153272cbd42e6989d 100644 |
--- a/components/dom_distiller/content/browser/distillable_page_utils_android.cc |
+++ b/components/dom_distiller/content/browser/distillable_page_utils_android.cc |
@@ -25,10 +25,10 @@ void OnIsPageDistillableResult( |
} // namespace |
static void IsPageDistillable(JNIEnv* env, |
- jclass jcaller, |
- jobject webContents, |
+ const JavaParamRef<jclass>& jcaller, |
+ const JavaParamRef<jobject>& webContents, |
jboolean is_mobile_optimized, |
- jobject callback) { |
+ const JavaParamRef<jobject>& callback) { |
content::WebContents* web_contents( |
content::WebContents::FromJavaWebContents(webContents)); |
scoped_ptr<ScopedJavaGlobalRef<jobject>> callback_holder( |