Index: chrome/browser/platform_util_android.cc |
diff --git a/chrome/browser/platform_util_android.cc b/chrome/browser/platform_util_android.cc |
index 2955134aef1e5088499c5ebcd9d78eda665c8fec..b938f5db84ace973a104e8abc965e09f11170782 100644 |
--- a/chrome/browser/platform_util_android.cc |
+++ b/chrome/browser/platform_util_android.cc |
@@ -4,6 +4,7 @@ |
#include "base/logging.h" |
#include "chrome/browser/platform_util.h" |
+#include "content/public/browser/android/content_view_core.h" |
namespace platform_util { |
@@ -23,7 +24,7 @@ void OpenExternal(const GURL& url) { |
gfx::NativeWindow GetTopLevel(gfx::NativeView view) { |
NOTIMPLEMENTED(); |
- return view; |
+ return view->GetWindowAndroid(); |
} |
gfx::NativeView GetParent(gfx::NativeView view) { |