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

Issue 681373004: App list folder icons: Fixed off-by-one error. (Closed)

Created:
6 years, 1 month ago by Matt Giuca
Modified:
6 years, 1 month ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@ares-allapps-button
Project:
chromium
Visibility:
Public.

Description

App list folder icons: Fixed off-by-one error. Not actually visible to the user. It is not supposed to regenerate the icon if the fifth or greater item changed. Due to an off-by-one error, it would still regenerate the icon if the fifth item changed (which is unnecessary). NB: Tests are incoming (which would have caught this error). Also harden a DCHECK (fixing a similar off-by-one error, and making it into a CHECK because it would be a security issue if it failed). BUG=425444 Committed: https://crrev.com/d1a3882d53bf5a765fb6b19fa0da54b265570e31 Cr-Commit-Position: refs/heads/master@{#302030}

Patch Set 1 #

Patch Set 2 : Fixed bad DCHECK (off-by-one; and made into a CHECK). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M ui/app_list/app_list_folder_item.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
Matt Giuca
6 years, 1 month ago (2014-10-29 07:00:13 UTC) #2
calamity
lgtm
6 years, 1 month ago (2014-10-30 03:23:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/681373004/20001
6 years, 1 month ago (2014-10-30 03:30:49 UTC) #5
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-10-30 04:14:16 UTC) #6
commit-bot: I haz the power
6 years, 1 month ago (2014-10-30 04:15:10 UTC) #7
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d1a3882d53bf5a765fb6b19fa0da54b265570e31
Cr-Commit-Position: refs/heads/master@{#302030}

Powered by Google App Engine
This is Rietveld 408576698