| Index: ash/wm/window_state.cc
|
| diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc
|
| index 8553b9cb27c411a4f17a1dc088ad337048b8ddb7..1e6e1db50c99a1aae5fb385d72fbb28af1d6252a 100644
|
| --- a/ash/wm/window_state.cc
|
| +++ b/ash/wm/window_state.cc
|
| @@ -250,16 +250,12 @@ void WindowState::RemoveObserver(WindowStateObserver* observer) {
|
| observer_list_.RemoveObserver(observer);
|
| }
|
|
|
| -bool WindowState::CreateDragDetails(aura::Window* window,
|
| +void WindowState::CreateDragDetails(aura::Window* window,
|
| const gfx::Point& point_in_parent,
|
| int window_component,
|
| aura::client::WindowMoveSource source) {
|
| - scoped_ptr<DragDetails> details(new DragDetails(
|
| - window, point_in_parent, window_component, source));
|
| - if (!details->is_resizable)
|
| - return false;
|
| - drag_details_ = details.Pass();
|
| - return true;
|
| + drag_details_.reset(
|
| + new DragDetails(window, point_in_parent, window_component, source));
|
| }
|
|
|
| void WindowState::DeleteDragDetails() {
|
|
|