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

Issue 2715006: Fix import crash in Mac 10.6.... (Closed)

Created:
10 years, 6 months ago by Miranda Callahan
Modified:
9 years, 7 months ago
Reviewers:
jeremy
CC:
chromium-reviews, kuchhal, John Grabowski, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Fix import crash in Mac. A DictionaryValue we need to keep was being autoreleased in the Mac message loop. The import process uses only C++ code, so we just make a deep copy of the (very small, 5 strings) Dictionary when it's passed into the bridge. BUG=46003 TEST=import works on Mac OS 10.6 and 10.5 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=49284

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 4

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -4 lines) Patch
M chrome/browser/importer/importer_bridge.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/importer/importer_bridge.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Miranda Callahan
10 years, 6 months ago (2010-06-09 00:06:33 UTC) #1
jeremy
http://codereview.chromium.org/2715006/diff/4001/5001 File chrome/browser/importer/importer_bridge.cc (right): http://codereview.chromium.org/2715006/diff/4001/5001#newcode117 chrome/browser/importer/importer_bridge.cc:117: localized_strings_ = Could you add a comment about why ...
10 years, 6 months ago (2010-06-09 07:47:21 UTC) #2
Miranda Callahan
Thanks, Jeremy -- fixed. http://codereview.chromium.org/2715006/diff/4001/5001 File chrome/browser/importer/importer_bridge.cc (right): http://codereview.chromium.org/2715006/diff/4001/5001#newcode117 chrome/browser/importer/importer_bridge.cc:117: localized_strings_ = On 2010/06/09 07:47:21, ...
10 years, 6 months ago (2010-06-09 16:13:06 UTC) #3
jeremy
10 years, 6 months ago (2010-06-09 17:24:17 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698