Index: content/shell/browser/shell.cc |
diff --git a/content/shell/browser/shell.cc b/content/shell/browser/shell.cc |
index 7d8ac38b6fa412982bba407b0f90db131f9f5356..ab9603ff68d11d7ddd484e4d24676c765c8d7939 100644 |
--- a/content/shell/browser/shell.cc |
+++ b/content/shell/browser/shell.cc |
@@ -306,7 +306,7 @@ void Shell::ExitFullscreenModeForTab(WebContents* web_contents) { |
void Shell::ToggleFullscreenModeForTab(WebContents* web_contents, |
bool enter_fullscreen) { |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
PlatformToggleFullscreenModeForTab(web_contents, enter_fullscreen); |
#endif |
if (!base::CommandLine::ForCurrentProcess()->HasSwitch( |
@@ -319,7 +319,7 @@ void Shell::ToggleFullscreenModeForTab(WebContents* web_contents, |
} |
bool Shell::IsFullscreenForTabOrPending(const WebContents* web_contents) const { |
-#if defined(OS_ANDROID) |
+#if defined(OS_ANDROID) && !defined(USE_AURA) |
return PlatformIsFullscreenForTabOrPending(web_contents); |
#else |
return is_fullscreen_; |