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

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: fix gyp Created 4 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
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 51a9ed1edd863c96a3acae13eaa483599111e7ec..37dc81384bb891af8f0ef54f68fc15517b4e6ec8 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::SetName(const std::string& name) {

Powered by Google App Engine
This is Rietveld 408576698