| Index: chrome/browser/sync/sessions/notification_service_sessions_router.cc
|
| diff --git a/chrome/browser/sync/sessions/notification_service_sessions_router.cc b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
|
| index 836ce30450baf8cbeb775c0e8f0640fe07d2881a..9bb3d5c8e7d283a9d8c23b16a532c876647fbe88 100644
|
| --- a/chrome/browser/sync/sessions/notification_service_sessions_router.cc
|
| +++ b/chrome/browser/sync/sessions/notification_service_sessions_router.cc
|
| @@ -24,7 +24,7 @@
|
| #include "content/public/browser/web_contents.h"
|
| #include "extensions/features/features.h"
|
|
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| #include "chrome/browser/android/tab_android.h"
|
| #endif
|
|
|
| @@ -46,7 +46,7 @@ namespace {
|
|
|
| SyncedTabDelegate* GetSyncedTabDelegateFromWebContents(
|
| content::WebContents* web_contents) {
|
| -#if BUILDFLAG(ANDROID_JAVA_UI)
|
| +#if defined(OS_ANDROID)
|
| TabAndroid* tab = TabAndroid::FromWebContents(web_contents);
|
| return tab ? tab->GetSyncedTabDelegate() : nullptr;
|
| #else
|
|
|