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

Issue 10389030: Fixed CHECKs for use of canceled ResourceContexts in ResourceDispatcherHostImpl. (Closed)

Created:
8 years, 7 months ago by Randy Smith (Not in Mondays)
Modified:
8 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Fixed CHECKs for use of canceled ResourceContexts in ResourceDispatcherHostImpl. Checks weren't taking into account the possibility of a later allocation re-using a deleted pointer. TBR=willchan@chromium.org BUG=90971 BUG=100566 TEST="browser_tests --gtest_filter=BrowserCloseTest.DISABLED_DownloadsCloseCheck_1 --gtest_repeat=10 --gtest_also_run_disabled_tests" with no crash. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=137163

Patch Set 1 #

Patch Set 2 : Made CancelRequestsForResourceContext idempotent. #

Patch Set 3 : Fixed compile errors. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -7 lines) Patch
M content/browser/renderer_host/resource_dispatcher_host_impl.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M content/browser/renderer_host/resource_dispatcher_host_impl.cc View 1 4 chunks +14 lines, -4 lines 0 comments Download
M content/browser/resource_context_impl.cc View 1 2 1 chunk +10 lines, -2 lines 0 comments Download
M content/public/browser/resource_context.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Randy Smith (Not in Mondays)
Will: WDYT?
8 years, 7 months ago (2012-05-08 22:42:26 UTC) #1
Randy Smith (Not in Mondays)
Switching to TBR, as Will's LGTM'd over email and I want to use the commit ...
8 years, 7 months ago (2012-05-11 15:56:28 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/10389030/1
8 years, 7 months ago (2012-05-11 15:57:57 UTC) #3
willchan no longer on Chromium
lgtm Sorry, I *thought* I lgtm'd this earlier. On Tue, May 8, 2012 at 3:42 ...
8 years, 7 months ago (2012-05-11 16:15:08 UTC) #4
commit-bot: I haz the power
Try job failure for 10389030-1 (retry) (retry) on mac_rel for step "content_unittests" (clobber build). It's ...
8 years, 7 months ago (2012-05-11 16:52:07 UTC) #5
Randy Smith (Not in Mondays)
Will: Take another quick look? Summary: Some tests were calling the cancel function before destruction ...
8 years, 7 months ago (2012-05-14 17:03:58 UTC) #6
willchan no longer on Chromium
lgtm
8 years, 7 months ago (2012-05-14 17:11:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdsmith@chromium.org/10389030/12005
8 years, 7 months ago (2012-05-15 16:04:10 UTC) #8
commit-bot: I haz the power
8 years, 7 months ago (2012-05-15 17:40:54 UTC) #9
Change committed as 137163

Powered by Google App Engine
This is Rietveld 408576698