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

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

Issue 2904073002: [mus+ash] Removes WmWindow from ash/wm/screen_pinning_controller.h (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/wm/screen_pinning_controller.h (removes unneeded header) 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 | « ash/wm/default_state.cc ('k') | ash/wm/screen_pinning_controller.h » ('j') | 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..ff07cffd04b089698256dce8556aeef1271adc0d 100644
--- a/ash/wm/maximize_mode/maximize_mode_window_state.cc
+++ b/ash/wm/maximize_mode/maximize_mode_window_state.cc
@@ -307,7 +307,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 | « ash/wm/default_state.cc ('k') | ash/wm/screen_pinning_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698