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

Unified Diff: ash/aura/wm_lookup_aura.cc

Issue 2625843002: Folds WmRootWindowController into RootWindowController (Closed)
Patch Set: definition in wm_root_window_controller.cc 2 Created 3 years, 11 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/aura/wm_lookup_aura.h ('k') | ash/aura/wm_window_aura.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_lookup_aura.cc
diff --git a/ash/aura/wm_lookup_aura.cc b/ash/aura/wm_lookup_aura.cc
index 927723569087662bd490e587ff3c1ff39e13588b..ee8ba06f15547a5037b012386f553905fd770d81 100644
--- a/ash/aura/wm_lookup_aura.cc
+++ b/ash/aura/wm_lookup_aura.cc
@@ -21,15 +21,12 @@ WmLookupAura::~WmLookupAura() {
WmLookup::Set(nullptr);
}
-WmRootWindowController* WmLookupAura::GetRootWindowControllerWithDisplayId(
+RootWindowController* WmLookupAura::GetRootWindowControllerWithDisplayId(
int64_t id) {
aura::Window* root_window = Shell::GetInstance()
->window_tree_host_manager()
->GetRootWindowForDisplayId(id);
- return root_window
- ? RootWindowController::ForWindow(root_window)
- ->wm_root_window_controller()
- : nullptr;
+ return root_window ? RootWindowController::ForWindow(root_window) : nullptr;
}
WmWindow* WmLookupAura::GetWindowForWidget(views::Widget* widget) {
« no previous file with comments | « ash/aura/wm_lookup_aura.h ('k') | ash/aura/wm_window_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698