Index: chrome/browser/platform_util.h |
diff --git a/chrome/browser/platform_util.h b/chrome/browser/platform_util.h |
index 651ae89611e9fa13f5d51142a3965b4a13a46c38..7a9494d98cc01e2442540e7f9f95acc02d356c41 100644 |
--- a/chrome/browser/platform_util.h |
+++ b/chrome/browser/platform_util.h |
@@ -9,6 +9,7 @@ |
#include "base/callback_forward.h" |
#include "base/strings/string16.h" |
+#include "chrome/common/features.h" |
#include "ui/gfx/native_widget_types.h" |
class GURL; |
@@ -98,7 +99,7 @@ bool IsVisible(gfx::NativeView view); |
bool IsSwipeTrackingFromScrollEventsEnabled(); |
#endif |
-#if defined(OS_ANDROID) && !defined(USE_AURA) |
+#if BUILDFLAG(ANDROID_JAVA_UI) |
bool RegisterPlatformUtil(JNIEnv* env); |
#endif |
} // namespace platform_util |