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

Unified Diff: ash/wm/window_resizer.cc

Issue 2901663003: chromeos: converts WindowState to aura::Window (Closed)
Patch Set: moar Created 3 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
Index: ash/wm/window_resizer.cc
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc
index af79954abcbe9d4e2dbe9bde6843e144fc887862..f2cf03c0b52ae78112e55715c624ba1c9da921d3 100644
--- a/ash/wm/window_resizer.cc
+++ b/ash/wm/window_resizer.cc
@@ -107,7 +107,7 @@ int WindowResizer::GetPositionChangeDirectionForWindowComponent(
}
aura::Window* WindowResizer::GetTarget() const {
- return window_state_ ? window_state_->window()->aura_window() : nullptr;
+ return window_state_ ? window_state_->window() : nullptr;
}
gfx::Rect WindowResizer::CalculateBoundsForDrag(

Powered by Google App Engine
This is Rietveld 408576698