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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 780913002: Revert of Fix icon on Windows XP taskbar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « ui/views/win/hwnd_message_handler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index f2abb6b33d07d36477c04fb297521c545ffebade..f35b155db25513a71dfb8c5e8835bf652f049fe0 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -905,16 +905,9 @@
HICON HWNDMessageHandler::GetDefaultWindowIcon() const {
if (use_system_default_icon_)
- return nullptr;
+ return NULL;
return ViewsDelegate::views_delegate ?
- ViewsDelegate::views_delegate->GetDefaultWindowIcon() : nullptr;
-}
-
-HICON HWNDMessageHandler::GetSmallWindowIcon() const {
- if (use_system_default_icon_)
- return nullptr;
- return ViewsDelegate::views_delegate ?
- ViewsDelegate::views_delegate->GetSmallWindowIcon() : nullptr;
+ ViewsDelegate::views_delegate->GetDefaultWindowIcon() : NULL;
}
LRESULT HWNDMessageHandler::OnWndProc(UINT message,
« no previous file with comments | « ui/views/win/hwnd_message_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698