summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/apps/chrome_app_window_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/apps/chrome_app_window_delegate.cc')
-rw-r--r--chrome/browser/ui/apps/chrome_app_window_delegate.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/ui/apps/chrome_app_window_delegate.cc b/chrome/browser/ui/apps/chrome_app_window_delegate.cc
index b0ccf7e..3a72af3e 100644
--- a/chrome/browser/ui/apps/chrome_app_window_delegate.cc
+++ b/chrome/browser/ui/apps/chrome_app_window_delegate.cc
@@ -22,7 +22,6 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_delegate.h"
-#include "content/public/browser/web_contents_view.h"
#include "extensions/common/constants.h"
#if defined(USE_ASH)
@@ -245,5 +244,5 @@ void ChromeAppWindowDelegate::SetWebContentsBlocked(
bool ChromeAppWindowDelegate::IsWebContentsVisible(
content::WebContents* web_contents) {
- return platform_util::IsVisible(web_contents->GetView()->GetNativeView());
+ return platform_util::IsVisible(web_contents->GetNativeView());
}