| Index: ash/wm/window_state.cc
|
| diff --git a/ash/wm/window_state.cc b/ash/wm/window_state.cc
|
| index c3f33ef717cb907f19cad482dcc3b04adc930afc..ad1af91c427efe668de342abc1ab56ac1bb8d10e 100644
|
| --- a/ash/wm/window_state.cc
|
| +++ b/ash/wm/window_state.cc
|
| @@ -452,7 +452,8 @@ void WindowState::SetBoundsDirect(const gfx::Rect& bounds) {
|
| std::max(min_size.height(), actual_new_bounds.height()));
|
| }
|
| BoundsSetter().SetBounds(window_, actual_new_bounds);
|
| - wm::SnapWindowToPixelBoundary(window_);
|
| + if (!allow_set_bounds_direct())
|
| + wm::SnapWindowToPixelBoundary(window_);
|
| }
|
|
|
| void WindowState::SetBoundsConstrained(const gfx::Rect& bounds) {
|
|
|