| Index: chrome/browser/platform_util_android.cc
|
| diff --git a/chrome/browser/platform_util_android.cc b/chrome/browser/platform_util_android.cc
|
| index 8a14b58f0f518dd5695b8d14db05266275e635cb..9cbea24d1c382dbf3b1a8ea7abf85a406fa244ca 100644
|
| --- a/chrome/browser/platform_util_android.cc
|
| +++ b/chrome/browser/platform_util_android.cc
|
| @@ -5,6 +5,9 @@
|
| #include "base/logging.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "ui/android/view_android.h"
|
| +#if defined(USE_AURA)
|
| +#include "ui/aura/window.h"
|
| +#endif
|
|
|
| namespace platform_util {
|
|
|
| @@ -26,8 +29,12 @@ void OpenExternal(Profile* profile, const GURL& url) {
|
| }
|
|
|
| gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
|
| +#if !defined(USE_AURA)
|
| NOTIMPLEMENTED();
|
| return view->GetWindowAndroid();
|
| +#else
|
| + return view;
|
| +#endif
|
| }
|
|
|
| gfx::NativeView GetParent(gfx::NativeView view) {
|
|
|