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

Issue 14806: Fixes crash in download tab view that resulted from attempting to... (Closed)

Created:
12 years ago by sky
Modified:
9 years, 7 months ago
Reviewers:
Paul Godavari
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fixes crash in download tab view that resulted from attempting to paint a download at downloads_.size(). This happened if the last download is visible, in which case row_stop == downloads_.size() and because the loop iterates to row_stop we try accessing downloads_[downloads_.size()]. BUG=5520 TEST=Bring up the downloads view and make sure you can scroll to the end of your downloads without crashing. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7161

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M chrome/browser/views/download_tab_view.cc View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
sky
12 years ago (2008-12-17 21:20:09 UTC) #1
Paul Godavari
12 years ago (2008-12-17 21:23:18 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698