Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Issue 8355025: Fix an Autofill crash caused by accessing the g_browser_process on the DB thread. (Closed)

Created:
9 years, 2 months ago by Ilya Sherman
Modified:
9 years, 2 months ago
CC:
chromium-reviews, GeorgeY, dyu1, dhollowa
Visibility:
Public.

Description

Fix an Autofill crash caused by accessing the g_browser_process on the DB thread. This is meant as a minimal-impact CL, so that it should be safe to merge to M16. The more complete fix is being tracked in bug 100845. BUG=100745 TEST=less crashy Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=106822

Patch Set 1 #

Total comments: 3

Patch Set 2 : Prime the cache in the WebDataService, rather than jumping through hoops in phone_number_i18n #

Patch Set 3 : Indentation #

Patch Set 4 : Fix more tests? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -18 lines) Patch
M chrome/browser/autofill/address_unittest.cc View 1 1 chunk +14 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_country.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/autofill/autofill_country.cc View 5 chunks +17 lines, -1 line 0 comments Download
M chrome/browser/autofill/phone_number.h View 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/autofill/phone_number.cc View 6 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/autofill/phone_number_i18n.cc View 1 2 3 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/autofill/phone_number_i18n_unittest.cc View 1 2 chunks +14 lines, -1 line 0 comments Download
M chrome/browser/autofill/phone_number_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_database_migration_unittest.cc View 1 2 3 4 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Ilya Sherman
9 years, 2 months ago (2011-10-19 23:58:53 UTC) #1
dhollowa
http://codereview.chromium.org/8355025/diff/1/chrome/browser/autofill/phone_number_i18n.cc File chrome/browser/autofill/phone_number_i18n.cc (right): http://codereview.chromium.org/8355025/diff/1/chrome/browser/autofill/phone_number_i18n.cc#newcode235 chrome/browser/autofill/phone_number_i18n.cc:235: i18n::phonenumbers::PhoneNumberUtil::NO_PARSING_ERROR) { nit: indent seems off here. The 'i' ...
9 years, 2 months ago (2011-10-20 15:34:27 UTC) #2
GeorgeY
LGTM after addressing indent issue pointed by David http://codereview.chromium.org/8355025/diff/1/chrome/browser/autofill/phone_number_i18n_unittest.cc File chrome/browser/autofill/phone_number_i18n_unittest.cc (right): http://codereview.chromium.org/8355025/diff/1/chrome/browser/autofill/phone_number_i18n_unittest.cc#newcode20 chrome/browser/autofill/phone_number_i18n_unittest.cc:20: PhoneNumberI18NTest() ...
9 years, 2 months ago (2011-10-20 19:40:00 UTC) #3
Ilya Sherman
Refactored a good bit of the code to fix various unit test failures, and reduce ...
9 years, 2 months ago (2011-10-21 00:25:57 UTC) #4
Paweł Hajdan Jr.
Drive-by: This could be going an extra mile, but I think an even better fix ...
9 years, 2 months ago (2011-10-21 08:57:59 UTC) #5
Ilya Sherman
On 2011/10/21 08:57:59, Paweł Hajdan Jr. wrote: > Drive-by: > > This could be going ...
9 years, 2 months ago (2011-10-21 21:14:31 UTC) #6
dhollowa
lgtm
9 years, 2 months ago (2011-10-21 22:47:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/8355025/7001
9 years, 2 months ago (2011-10-21 22:48:28 UTC) #8
commit-bot: I haz the power
9 years, 2 months ago (2011-10-22 00:46:20 UTC) #9
Change committed as 106822

Powered by Google App Engine
This is Rietveld 408576698