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

Unified Diff: chrome/browser/win/jumplist.cc

Issue 2660153002: Incognito icon added to Windows taskbar jumplist. (Closed)
Patch Set: Created 3 years, 11 months 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 | « chrome/app/theme/chromium/win/incognito.ico ('k') | chrome/common/chrome_icon_resources_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/win/jumplist.cc
diff --git a/chrome/browser/win/jumplist.cc b/chrome/browser/win/jumplist.cc
index 508093dfa290fa460552fa29d95bdf17c8b071eb..1207fa7d46b670e3360622a42ba592a740634085 100644
--- a/chrome/browser/win/jumplist.cc
+++ b/chrome/browser/win/jumplist.cc
@@ -23,6 +23,7 @@
#include "chrome/browser/sessions/tab_restore_service_factory.h"
#include "chrome/browser/shell_integration_win.h"
#include "chrome/common/chrome_constants.h"
+#include "chrome/common/chrome_icon_resources_win.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/common/url_constants.h"
@@ -147,7 +148,7 @@ bool UpdateTaskCategory(
base::ReplaceSubstringsAfterOffset(
&incognito_title, 0, L"&", base::StringPiece16());
incognito->set_title(incognito_title);
- incognito->set_icon(chrome_path.value(), icon_index);
+ incognito->set_icon(chrome_path.value(), icon_resources::kIncognitoIndex);
items.push_back(incognito);
}
« no previous file with comments | « chrome/app/theme/chromium/win/incognito.ico ('k') | chrome/common/chrome_icon_resources_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698