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

Unified Diff: ash/mus/window_manager.cc

Issue 2814243002: Removes a couple more functions from WmWindow (Closed)
Patch Set: feedback Created 3 years, 8 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/mus/top_level_window_factory.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/window_manager.cc
diff --git a/ash/mus/window_manager.cc b/ash/mus/window_manager.cc
index e8ca3eb0177513f7ddd133cc32115234283cd404..a8e3e2d5b40144a239836992ba0fb2c5a04f98eb 100644
--- a/ash/mus/window_manager.cc
+++ b/ash/mus/window_manager.cc
@@ -245,11 +245,10 @@ void WindowManager::CreateAndRegisterRootWindowController(
root_window_controller->Init(root_window_type);
// TODO: To avoid lots of IPC AddActivationParent() should take an array.
// http://crbug.com/682048.
- WmWindow* root_window = root_window_controller->GetWindow();
+ aura::Window* root_window = root_window_controller->GetRootWindow();
for (size_t i = 0; i < kNumActivatableShellWindowIds; ++i) {
window_manager_client_->AddActivationParent(
- root_window->GetChildByShellWindowId(kActivatableShellWindowIds[i])
- ->aura_window());
+ root_window->GetChildById(kActivatableShellWindowIds[i]));
}
root_window_controllers_.insert(std::move(root_window_controller));
}
« no previous file with comments | « ash/mus/top_level_window_factory.cc ('k') | ash/root_window_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698