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

Issue 2843623002: ash: Return empty shelf icon bounds before initialization. (Closed)

Created:
3 years, 7 months ago by msw
Modified:
3 years, 7 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ash: Return empty shelf icon bounds before initialization. Bail GetIdealBoundsOfItemIcon before |last_visible_index_| init. (avoid using button bounds before they are calculated) This is a simple workaround for a failing clusterfuzz check. The test case is not reproducible, and unlikely to be hit manually. There's little reason to seek a more comprehensive fix for now. TODO: Merge AppListButton and ShelfButton (or use inheritance). BUG=707165 TEST=No failed button CHECK via clusterfuzz. (Not reproducible) R=xiyuan@chromium.org Review-Url: https://codereview.chromium.org/2843623002 Cr-Commit-Position: refs/heads/master@{#466776} Committed: https://chromium.googlesource.com/chromium/src/+/5638001af068337b354a2d43d65b25ae3638ace2

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ash/shelf/shelf_view.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (7 generated)
msw
Hey Xiyuan, please take a look; thanks!
3 years, 7 months ago (2017-04-24 20:50:15 UTC) #5
xiyuan
lgtm
3 years, 7 months ago (2017-04-24 21:22:02 UTC) #6
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/2843623002/1
3 years, 7 months ago (2017-04-24 21:31:09 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-04-24 21:36:57 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/5638001af068337b354a2d43d65b...

Powered by Google App Engine
This is Rietveld 408576698