Chromium Code Reviews| Index: chrome/browser/dom_distiller/dom_distiller_service_factory_android.h |
| diff --git a/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h b/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h |
| index a44584c4e880eb066a784222ad5ee31d1b9b9f4e..5e8f9a49a3055c844e661f6e64b56a34fe01a5d9 100644 |
| --- a/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h |
| +++ b/chrome/browser/dom_distiller/dom_distiller_service_factory_android.h |
| @@ -6,6 +6,7 @@ |
| #define CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_ |
| #include <jni.h> |
| +#include "base/android/scoped_java_ref.h" |
| namespace dom_distiller { |
| namespace android { |
| @@ -14,7 +15,8 @@ namespace android { |
| // DomDistillerServiceFactory. |
| class DomDistillerServiceFactoryAndroid { |
| public: |
| - static jobject GetForProfile(JNIEnv* env, jclass clazz, jobject j_profile); |
| + static base::android::ScopedJavaLocalRef<jobject> |
| + GetForProfile(JNIEnv* env, jclass clazz, jobject j_profile); |
|
rmcilroy
2015/08/18 13:26:10
nit - add newline below for clarity
|
| static bool Register(JNIEnv* env); |
| }; |