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

Unified Diff: ash/wm/common/dock/docked_window_resizer.cc

Issue 1943603002: Makes ash/wm/common a library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge again Created 4 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/common/dock/docked_window_resizer.h ('k') | ash/wm/common/drag_details.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/dock/docked_window_resizer.cc
diff --git a/ash/wm/common/dock/docked_window_resizer.cc b/ash/wm/common/dock/docked_window_resizer.cc
index 957025d912b21d998bc821cbf6f1887ed11e37b3..7ba9eef045ffd4d0a3b0f74a28a7909a2a25257d 100644
--- a/ash/wm/common/dock/docked_window_resizer.cc
+++ b/ash/wm/common/dock/docked_window_resizer.cc
@@ -8,6 +8,7 @@
#include "ash/wm/common/window_parenting_utils.h"
#include "ash/wm/common/window_state.h"
#include "ash/wm/common/wm_event.h"
+#include "ash/wm/common/wm_lookup.h"
#include "ash/wm/common/wm_root_window_controller.h"
#include "ash/wm/common/wm_shell_window_ids.h"
#include "ash/wm/common/wm_window.h"
@@ -27,7 +28,9 @@ DockedWindowLayoutManager* GetDockedLayoutManagerAtPoint(
return nullptr;
return DockedWindowLayoutManager::Get(
- wm::WmRootWindowController::GetWithDisplayId(display.id())->GetWindow());
+ wm::WmLookup::Get()
+ ->GetRootWindowControllerWithDisplayId(display.id())
+ ->GetWindow());
}
} // namespace
« no previous file with comments | « ash/wm/common/dock/docked_window_resizer.h ('k') | ash/wm/common/drag_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698