Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1677)

Unified Diff: ash/wm/maximize_mode/maximize_mode_window_state.cc

Issue 2913433002: [mus+ash] Fixes build by re-landing changes to maximize_mode_window_state (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/maximize_mode/maximize_mode_window_state.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_window_state.cc b/ash/wm/maximize_mode/maximize_mode_window_state.cc
index be0df25e4622ee82c3aaee2105c6bedab54ba485..989fff71822c8b40e44aafde767fd93ab2670b50 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_state.cc
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.cc
@@ -15,7 +15,6 @@
#include "ash/wm/window_properties.h"
#include "ash/wm/window_state_util.h"
#include "ash/wm/wm_event.h"
-#include "ash/wm_window.h"
#include "ui/aura/window.h"
#include "ui/aura/window_delegate.h"
#include "ui/compositor/layer.h"
@@ -307,7 +306,7 @@ void MaximizeModeWindowState::UpdateWindow(wm::WindowState* window_state,
old_state_type == wm::WINDOW_STATE_TYPE_TRUSTED_PINNED ||
target_state == wm::WINDOW_STATE_TYPE_TRUSTED_PINNED) {
Shell::Get()->screen_pinning_controller()->SetPinnedWindow(
- WmWindow::Get(window_state->window()));
+ window_state->window());
}
if ((window_state->window()->layer()->GetTargetVisibility() ||
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698