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

Unified Diff: ash/accelerators/accelerator_controller.cc

Issue 2908433005: [mus+ash] Removes WmWindow from window_positioning_utils (Closed)
Patch Set: Removes WmWindow from window_positioning_utils (exo) 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 | ash/display/screen_position_controller.cc » ('j') | ash/wm/window_positioning_utils.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_controller.cc
diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc
index 789059b65e59b661ee936a128796670c73f86cc2..7119316b4e9265e298f98322a5f70d06a2f427af 100644
--- a/ash/accelerators/accelerator_controller.cc
+++ b/ash/accelerators/accelerator_controller.cc
@@ -457,7 +457,7 @@ bool CanHandlePositionCenter() {
void HandlePositionCenter() {
base::RecordAction(UserMetricsAction("Accel_Window_Position_Center"));
- wm::CenterWindow(WmWindow::Get(wm::GetActiveWindow()));
+ wm::CenterWindow(wm::GetActiveWindow());
}
void HandleShowImeMenuBubble() {
« no previous file with comments | « no previous file | ash/display/screen_position_controller.cc » ('j') | ash/wm/window_positioning_utils.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698