Index: ash/wm/default_state.cc |
diff --git a/ash/wm/default_state.cc b/ash/wm/default_state.cc |
index c1249b2d9371e7c6afe770fcf6eea42ea775773d..599c0ee94fc28cd7394e4a94da00e2103625c548 100644 |
--- a/ash/wm/default_state.cc |
+++ b/ash/wm/default_state.cc |
@@ -545,7 +545,7 @@ void DefaultState::EnterToNextState(WindowState* window_state, |
next_state_type == WINDOW_STATE_TYPE_TRUSTED_PINNED || |
previous_state_type == WINDOW_STATE_TYPE_TRUSTED_PINNED) { |
Shell::Get()->screen_pinning_controller()->SetPinnedWindow( |
- WmWindow::Get(window_state->window())); |
+ window_state->window()); |
} |
} |