| Index: views/controls/hwnd_view.cc
|
| ===================================================================
|
| --- views/controls/hwnd_view.cc (revision 16052)
|
| +++ views/controls/hwnd_view.cc (working copy)
|
| @@ -110,9 +110,10 @@
|
|
|
| if (fast_resize()) {
|
| // In a fast resize, we move the window and clip it with SetWindowRgn.
|
| - CRect rect;
|
| - GetWindowRect(native_view(), &rect);
|
| - ::SetWindowPos(native_view(), 0, x, y, rect.Width(), rect.Height(),
|
| + RECT win_rect;
|
| + GetWindowRect(native_view(), &win_rect);
|
| + gfx::Rect rect(win_rect);
|
| + ::SetWindowPos(native_view(), 0, x, y, rect.width(), rect.height(),
|
| swp_flags);
|
|
|
| HRGN clip_region = CreateRectRgn(0, 0, w, h);
|
|
|