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

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

Issue 2954173002: Remove redundant JumpListUpdater::IsEnabled calls (Closed)
Patch Set: Git pull Created 3 years, 6 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 | « no previous file | no next file » | 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 6f3aa45515cb82baa2d98cc24ae7a63c7e72e674..7ebb5eab0553e7be09175a4f82c941bac03e2de6 100644
--- a/chrome/browser/win/jumplist.cc
+++ b/chrome/browser/win/jumplist.cc
@@ -663,9 +663,6 @@ void JumpList::RunUpdateJumpList(
bool recently_closed_should_update,
IncognitoModePrefs::Availability incognito_availability,
UpdateTransaction* update_transaction) {
- if (!JumpListUpdater::IsEnabled())
- return;
-
DCHECK(update_transaction);
base::FilePath most_visited_icon_dir = GenerateJumplistIconDirName(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698