Chromium Code Reviews| Index: ui/gfx/win/window_impl.cc |
| diff --git a/ui/gfx/win/window_impl.cc b/ui/gfx/win/window_impl.cc |
| index f7744687c97b396501d9cd4fe8ecb0258d637954..c1cefa80887e9d20ac28b050c571788fce902292 100644 |
| --- a/ui/gfx/win/window_impl.cc |
| +++ b/ui/gfx/win/window_impl.cc |
| @@ -292,7 +292,6 @@ LRESULT CALLBACK WindowImpl::WndProc(HWND hwnd, |
| window->got_create_ = true; |
| if (hwnd) |
| window->got_valid_hwnd_ = true; |
| - return TRUE; |
| } |
| WindowImpl* window = reinterpret_cast<WindowImpl*>(GetWindowUserData(hwnd)); |
|
sky
2016/12/14 02:42:41
This isn't necessary for the if case, maybe move d
robliao
2016/12/14 18:50:19
While that is true, this seems more readable and G
sky
2016/12/14 18:54:24
I personally think it's clearer overall to not do
robliao
2016/12/14 19:03:18
Done.
The main reason I don't like setting it to
|