| Index: chrome/browser/dom_distiller/tab_utils_android.cc
|
| diff --git a/chrome/browser/dom_distiller/tab_utils_android.cc b/chrome/browser/dom_distiller/tab_utils_android.cc
|
| index 7dcef2583d263abc792b135f8825af790effe5f1..9e08d54b5fe6185688c7cb706d5ce22b4b8a1842 100644
|
| --- a/chrome/browser/dom_distiller/tab_utils_android.cc
|
| +++ b/chrome/browser/dom_distiller/tab_utils_android.cc
|
| @@ -24,20 +24,24 @@ namespace android {
|
| void DistillCurrentPageAndView(JNIEnv* env,
|
| jclass clazz,
|
| jobject j_web_contents) {
|
| +#if !defined(USE_AURA)
|
| content::WebContents* web_contents =
|
| content::WebContents::FromJavaWebContents(j_web_contents);
|
| ::DistillCurrentPageAndView(web_contents);
|
| +#endif
|
| }
|
|
|
| void DistillAndView(JNIEnv* env,
|
| jclass clazz,
|
| jobject j_source_web_contents,
|
| jobject j_destination_web_contents) {
|
| +#if !defined(USE_AURA)
|
| content::WebContents* source_web_contents =
|
| content::WebContents::FromJavaWebContents(j_source_web_contents);
|
| content::WebContents* destination_web_contents =
|
| content::WebContents::FromJavaWebContents(j_destination_web_contents);
|
| ::DistillAndView(source_web_contents, destination_web_contents);
|
| +#endif
|
| }
|
|
|
| jstring GetFormattedUrlFromOriginalDistillerUrl(JNIEnv* env,
|
|
|