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

Issue 10068001: [NTP4] Fix empty apps page crash. (Closed)

Created:
8 years, 8 months ago by Dan Beam
Modified:
8 years, 8 months ago
Reviewers:
csharp, Evan Stade
CC:
chromium-reviews, Aaron Boodman, mihaip+watch_chromium.org
Visibility:
Public.

Description

[NTP4] Fix empty apps page crash. R=estade@chromium.org,csharp@chromium.org BUG=122214 TEST=Drag, switch to new pane, drop on original nav dot. Drop on newly created pane. Nothing should asplode. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=132468

Patch Set 1 #

Total comments: 1

Patch Set 2 : index -> size tweak, add test, style nit #

Total comments: 3

Patch Set 3 : csharp review, fix off by one #

Total comments: 2

Patch Set 4 : estade review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -28 lines) Patch
M chrome/browser/extensions/extension_sorting.h View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_sorting.cc View 1 2 3 4 chunks +20 lines, -26 lines 0 comments Download
M chrome/browser/extensions/extension_sorting_unittest.cc View 1 2 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
Dan Beam
tell me what you guys think of this fix for bug 122214
8 years, 8 months ago (2012-04-12 02:11:50 UTC) #1
Dan Beam
https://chromiumcodereview.appspot.com/10068001/diff/1/chrome/browser/extensions/extension_sorting.cc File chrome/browser/extensions/extension_sorting.cc (left): https://chromiumcodereview.appspot.com/10068001/diff/1/chrome/browser/extensions/extension_sorting.cc#oldcode85 chrome/browser/extensions/extension_sorting.cc:85: <= static_cast<size_t>(old_page_index)) { I think this might've been off ...
8 years, 8 months ago (2012-04-12 04:51:01 UTC) #2
csharp
https://chromiumcodereview.appspot.com/10068001/diff/3002/chrome/browser/extensions/extension_sorting.cc File chrome/browser/extensions/extension_sorting.cc (right): https://chromiumcodereview.appspot.com/10068001/diff/3002/chrome/browser/extensions/extension_sorting.cc#newcode56 chrome/browser/extensions/extension_sorting.cc:56: while (ntp_ordinal_map_.size() <= required_size) { If required_size=1 this makes ...
8 years, 8 months ago (2012-04-12 13:19:54 UTC) #3
Dan Beam
https://chromiumcodereview.appspot.com/10068001/diff/3002/chrome/browser/extensions/extension_sorting.cc File chrome/browser/extensions/extension_sorting.cc (right): https://chromiumcodereview.appspot.com/10068001/diff/3002/chrome/browser/extensions/extension_sorting.cc#newcode56 chrome/browser/extensions/extension_sorting.cc:56: while (ntp_ordinal_map_.size() <= required_size) { On 2012/04/12 13:19:54, csharp ...
8 years, 8 months ago (2012-04-12 18:46:18 UTC) #4
Evan Stade
lgtm http://codereview.chromium.org/10068001/diff/1006/chrome/browser/extensions/extension_sorting.h File chrome/browser/extensions/extension_sorting.h (right): http://codereview.chromium.org/10068001/diff/1006/chrome/browser/extensions/extension_sorting.h#newcode133 chrome/browser/extensions/extension_sorting.h:133: void CreateOrdinalsIfNecessary(size_t required_size); s/required_size/minimum_size/
8 years, 8 months ago (2012-04-13 01:21:14 UTC) #5
Dan Beam
http://codereview.chromium.org/10068001/diff/1006/chrome/browser/extensions/extension_sorting.h File chrome/browser/extensions/extension_sorting.h (right): http://codereview.chromium.org/10068001/diff/1006/chrome/browser/extensions/extension_sorting.h#newcode133 chrome/browser/extensions/extension_sorting.h:133: void CreateOrdinalsIfNecessary(size_t required_size); On 2012/04/13 01:21:14, Evan Stade wrote: ...
8 years, 8 months ago (2012-04-13 01:37:46 UTC) #6
Dan Beam
csharp: re-review when you get a chance as I hope to merge this to M19.
8 years, 8 months ago (2012-04-13 03:15:02 UTC) #7
csharp
lgtm
8 years, 8 months ago (2012-04-13 13:46:37 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/10068001/4008
8 years, 8 months ago (2012-04-16 18:26:37 UTC) #9
commit-bot: I haz the power
Try job failure for 10068001-4008 (retry) on linux_rel for step "compile" (clobber build). It's a ...
8 years, 8 months ago (2012-04-16 18:56:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dbeam@chromium.org/10068001/4008
8 years, 8 months ago (2012-04-16 20:09:18 UTC) #11
commit-bot: I haz the power
8 years, 8 months ago (2012-04-16 21:50:05 UTC) #12
Change committed as 132468

Powered by Google App Engine
This is Rietveld 408576698