Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: ui/gfx/win/window_impl.cc

Issue 2574933002: Call EnableNonClientDpiScaling (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.h » ('j') | ui/views/win/hwnd_message_handler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | ui/views/win/hwnd_message_handler.h » ('j') | ui/views/win/hwnd_message_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698