Index: ash/wm/window_state_util.cc |
diff --git a/ash/wm/window_state_util.cc b/ash/wm/window_state_util.cc |
index dd0983eff28627d1abae110ff894e188a426693f..20e8f443731ed21a7dfd9f77e2308ff9ace5fab1 100644 |
--- a/ash/wm/window_state_util.cc |
+++ b/ash/wm/window_state_util.cc |
@@ -7,6 +7,7 @@ |
#include "ash/wm/window_state.h" |
#include "ash/wm/window_state_delegate.h" |
#include "ash/wm_window.h" |
+#include "ui/wm/core/window_util.h" |
namespace ash { |
namespace wm { |
@@ -21,7 +22,7 @@ void ToggleFullScreen(wm::WindowState* window_state, |
if (delegate && delegate->ToggleFullscreen(window_state)) |
return; |
- window_state->window()->SetFullscreen(!is_fullscreen); |
+ ::wm::SetWindowFullscreen(window_state->window(), !is_fullscreen); |
} |
} // namespace wm |