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

Issue 159853: A quick fix for Issue 18837 (and a build fix for VS2008) (Closed)

Created:
11 years, 4 months ago by Hironori Bono
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

A blind fix for Issue 18837 (and a build fix for VS2008) To read this crash dump, this issue is caused by my mistake that this jumplist.cc calls "icon_urls_.front()" for an empty list. This change added some checks that verifies a std::list has one or more items. This change also fixes linker errors because of conflicted symbols: CLSID_DestinationList and CLSID_EnumerableObjectCollection, which is caused by my mistake that I forgot removing "EXTERN_C" keywords when I moved them into an anonymous namespace. This change removes the "EXTERN_C" keywords for VS2008. BUG=18837 "Crash - JumpList::OnFavIconDataAvailable(int,bool,scoped_refptr<RefCountedVector<unsigned char> >,bool,GURL)" TEST=Show JumpList on Windows 7. TEST=Build Chromium with VS2008. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22907

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -7 lines) Patch
M chrome/browser/jumplist.cc View 1 2 3 4 2 chunks +10 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Hironori Bono
11 years, 4 months ago (2009-08-10 04:20:21 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/159853/diff/4003/4004 File chrome/browser/jumplist.cc (right): http://codereview.chromium.org/159853/diff/4003/4004#newcode716 Line 716: if (icon_urls_.size() && icon_urls_.front().second) maybe !icon_urls_.empty()? http://codereview.chromium.org/159853/diff/4003/4004#newcode721 Line ...
11 years, 4 months ago (2009-08-10 04:22:18 UTC) #2
Hironori Bono
Thank you for your quick review and comments. Your comments become wake-up calls for me. ...
11 years, 4 months ago (2009-08-10 04:34:40 UTC) #3
Ben Goodger (Google)
11 years, 4 months ago (2009-08-10 04:35:38 UTC) #4
LGTM.

Powered by Google App Engine
This is Rietveld 408576698