Index: ash/wm/default_window_resizer.cc |
diff --git a/ash/wm/default_window_resizer.cc b/ash/wm/default_window_resizer.cc |
index eaf6b020980ed5a7fa9e4748066e38f78853921d..8ae34ea0c921f66260b8e64d074a9d1fe47d08f5 100644 |
--- a/ash/wm/default_window_resizer.cc |
+++ b/ash/wm/default_window_resizer.cc |
@@ -6,7 +6,7 @@ |
#include "ash/shell_port.h" |
#include "ash/wm/window_state.h" |
-#include "ash/wm_window.h" |
+#include "ui/aura/window.h" |
namespace ash { |
@@ -22,7 +22,7 @@ DefaultWindowResizer* DefaultWindowResizer::Create( |
void DefaultWindowResizer::Drag(const gfx::Point& location, int event_flags) { |
gfx::Rect bounds(CalculateBoundsForDrag(location)); |
- if (bounds != GetTarget()->GetBounds()) { |
+ if (bounds != GetTarget()->bounds()) { |
if (!did_move_or_resize_ && !details().restore_bounds.IsEmpty()) |
window_state_->ClearRestoreBounds(); |
did_move_or_resize_ = true; |