Chromium Code Reviews
Descriptionash: 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 #
Messages
Total messages: 11 (7 generated)
|
|||||||||||||||||||