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

Issue 7841004: Don't pass URLBlacklistManager from UI to IO through ProfileParams on ProfileIOData. (Closed)

Created:
9 years, 3 months ago by Joao da Silva
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Nico
Visibility:
Public.

Description

Don't pass URLBlacklistManager from UI to IO through ProfileParams on ProfileIOData. If the ProfileIOData isn't ever lazily initialized, the URLBlacklistManager will be deleted with the ProfileParams on the wrong thread. BUG=95510 TEST=sync_integration_tests aren't breaking because of destruction of URLBlacklistManager on the wrong thread Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99876

Patch Set 1 #

Total comments: 2

Patch Set 2 : Renamed InitializeProfileParams to InitializeOnUIThread #

Patch Set 3 : Update suppression #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -15 lines) Patch
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 chunks +1 line, -4 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 4 chunks +11 lines, -8 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 2 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 5 (0 generated)
Joao da Silva
Please review. Thanks for proposing the fix. This works locally, I'll wait for the bots ...
9 years, 3 months ago (2011-09-06 19:40:34 UTC) #1
willchan no longer on Chromium
I've proposed renaming the function so that it does what it sounds like it's supposed ...
9 years, 3 months ago (2011-09-06 20:49:27 UTC) #2
Joao da Silva
Please have another look. Does the change to suppressions.txt make sense? http://codereview.chromium.org/7841004/diff/1/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): ...
9 years, 3 months ago (2011-09-06 21:07:16 UTC) #3
willchan no longer on Chromium
LGTM http://codereview.chromium.org/7841004/diff/3002/tools/valgrind/memcheck/suppressions.txt File tools/valgrind/memcheck/suppressions.txt (right): http://codereview.chromium.org/7841004/diff/3002/tools/valgrind/memcheck/suppressions.txt#newcode3657 tools/valgrind/memcheck/suppressions.txt:3657: fun:_ZN13ProfileIOData20InitializeOnUIThreadEP7Profile On 2011/09/06 21:07:16, Joao da Silva wrote: ...
9 years, 3 months ago (2011-09-06 21:15:45 UTC) #4
commit-bot: I haz the power
9 years, 3 months ago (2011-09-07 00:18:59 UTC) #5
Change committed as 99876

Powered by Google App Engine
This is Rietveld 408576698