| Index: ui/events/win/event_utils_win_unittest.cc
|
| diff --git a/ui/events/win/event_utils_win_unittest.cc b/ui/events/win/event_utils_win_unittest.cc
|
| index a4efce4fa5117119b48f0509e6dc63e346f94c0d..8b99008eb26911bfbbc5f1e61b78446be77aa668 100644
|
| --- a/ui/events/win/event_utils_win_unittest.cc
|
| +++ b/ui/events/win/event_utils_win_unittest.cc
|
| @@ -22,7 +22,10 @@ class TestWindow : public gfx::WindowImpl {
|
| LPARAM l_param,
|
| LRESULT& result,
|
| DWORD msg_map_id = 0) override {
|
| - return true;
|
| + // Handle WM_NCCALCSIZE because the test below assumes there is no
|
| + // non-client area, affecting EventSystemLocationFromNative's client to
|
| + // screen coordinate transform.
|
| + return message == WM_NCCALCSIZE;
|
| }
|
|
|
| private:
|
|
|