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

Issue 2954173002: Remove redundant JumpListUpdater::IsEnabled calls (Closed)

Created:
3 years, 6 months ago by chengx
Modified:
3 years, 5 months ago
Reviewers:
grt (UTC plus 2)
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove redundant JumpListUpdater::IsEnabled calls JumpListUpdater::IsEnabled is checked in JumpList constructor. There is no need to check it again in JumpList member functions as its state doesn't change after the JumpList object is constructed. BUG=738126 Review-Url: https://codereview.chromium.org/2954173002 Cr-Commit-Position: refs/heads/master@{#483719} Committed: https://chromium.googlesource.com/chromium/src/+/214f4ffc34417cfd3940cab8a73a8faf4a81cebb

Patch Set 1 #

Total comments: 2

Patch Set 2 : Revert some changes #

Patch Set 3 : Git pull #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -3 lines) Patch
M chrome/browser/win/jumplist.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (23 generated)
chengx
PTAL, thanks! This was mentioned in crrev/2941323002.
3 years, 6 months ago (2017-06-23 19:09:34 UTC) #4
grt (UTC plus 2)
https://codereview.chromium.org/2954173002/diff/1/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2954173002/diff/1/chrome/browser/win/jumplist.cc#newcode269 chrome/browser/win/jumplist.cc:269: if (!JumpListUpdater::IsEnabled()) BrowserView::InitViews only constructs a JumpList if IsEnabled() ...
3 years, 6 months ago (2017-06-24 20:42:44 UTC) #9
chengx
PTAL the new patch set. Thanks! https://codereview.chromium.org/2954173002/diff/1/chrome/browser/win/jumplist.cc File chrome/browser/win/jumplist.cc (right): https://codereview.chromium.org/2954173002/diff/1/chrome/browser/win/jumplist.cc#newcode269 chrome/browser/win/jumplist.cc:269: if (!JumpListUpdater::IsEnabled()) On ...
3 years, 5 months ago (2017-06-29 19:14:38 UTC) #14
grt (UTC plus 2)
lgtm
3 years, 5 months ago (2017-06-30 15:10:44 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2954173002/40001
3 years, 5 months ago (2017-06-30 16:02:01 UTC) #24
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 16:07:14 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/214f4ffc34417cfd3940cab8a73a...

Powered by Google App Engine
This is Rietveld 408576698