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

Unified Diff: ash/wm/aura/wm_window_aura.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/aura/wm_window_aura.h ('k') | ash/wm/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/aura/wm_window_aura.cc
diff --git a/ash/wm/aura/wm_window_aura.cc b/ash/wm/aura/wm_window_aura.cc
index 2037bdddb0f164b1f32244231831d45e8192705f..2a09ff622254e87dc08547ecd4e15e23d966b1a9 100644
--- a/ash/wm/aura/wm_window_aura.cc
+++ b/ash/wm/aura/wm_window_aura.cc
@@ -76,11 +76,6 @@ WmWindowAura::WmWindowAura(aura::Window* window)
}
// static
-WmWindow* WmWindow::Get(views::Widget* widget) {
- return WmWindowAura::Get(widget->GetNativeWindow());
-}
-
-// static
WmWindow* WmWindowAura::Get(aura::Window* window) {
if (!window)
return nullptr;
@@ -117,7 +112,7 @@ WmRootWindowController* WmWindowAura::GetRootWindowController() {
}
WmGlobals* WmWindowAura::GetGlobals() const {
- return WmGlobalsAura::Get();
+ return WmGlobals::Get();
}
void WmWindowAura::SetShellWindowId(int id) {
« no previous file with comments | « ash/wm/aura/wm_window_aura.h ('k') | ash/wm/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698