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

Unified Diff: ash/wm/common/panels/panel_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/panels/panel_window_resizer.h ('k') | ash/wm/common/root_window_finder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/common/panels/panel_window_resizer.cc
diff --git a/ash/wm/common/panels/panel_window_resizer.cc b/ash/wm/common/panels/panel_window_resizer.cc
index 0cd43f1e397977581862b2518484793281672067..5a5b7e6acf7d958d502878607caf83b54bcaf27c 100644
--- a/ash/wm/common/panels/panel_window_resizer.cc
+++ b/ash/wm/common/panels/panel_window_resizer.cc
@@ -8,6 +8,7 @@
#include "ash/wm/common/shelf/wm_shelf.h"
#include "ash/wm/common/window_parenting_utils.h"
#include "ash/wm/common/window_state.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"
@@ -53,7 +54,8 @@ void PanelWindowResizer::Drag(const gfx::Point& location, int event_flags) {
if (GetTarget()->GetParent() != panel_container_)
PanelLayoutManager::Get(panel_container_)->FinishDragging();
wm::WmWindow* dst_root =
- wm::WmRootWindowController::GetWithDisplayId(dst_display.id())
+ wm::WmLookup::Get()
+ ->GetRootWindowControllerWithDisplayId(dst_display.id())
->GetWindow();
panel_container_ =
dst_root->GetChildByShellWindowId(kShellWindowId_PanelContainer);
« no previous file with comments | « ash/wm/common/panels/panel_window_resizer.h ('k') | ash/wm/common/root_window_finder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698