| Index: chrome/browser/dom_distiller/profile_utils.cc
|
| diff --git a/chrome/browser/dom_distiller/profile_utils.cc b/chrome/browser/dom_distiller/profile_utils.cc
|
| index 9399ea7e68a3fef067f9c53a8bac26a422f1404f..c7fbe45f3b7a74bad20de046a7b702873b43008b 100644
|
| --- a/chrome/browser/dom_distiller/profile_utils.cc
|
| +++ b/chrome/browser/dom_distiller/profile_utils.cc
|
| @@ -20,9 +20,9 @@
|
| #include "components/dom_distiller/core/dom_distiller_switches.h"
|
| #include "components/dom_distiller/core/url_constants.h"
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| #include "chrome/browser/android/dom_distiller/distiller_ui_handle_android.h"
|
| -#endif // BUILDFLAG(ANDROID_JAVA_UI)
|
| +#endif // defined(OS_ANDROID)
|
|
|
| namespace dom_distiller {
|
|
|
| @@ -39,9 +39,9 @@ void RegisterViewerSource(Profile* profile) {
|
| new LazyDomDistillerService(profile, dom_distiller_service_factory);
|
| std::unique_ptr<DistillerUIHandle> ui_handle;
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| ui_handle.reset(new dom_distiller::android::DistillerUIHandleAndroid());
|
| -#endif // BUILDFLAG(ANDROID_JAVA_UI)
|
| +#endif // defined(OS_ANDROID)
|
|
|
| // Set the JavaScript world ID.
|
| if (!DistillerJavaScriptWorldIdIsSet()) {
|
|
|