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

Issue 301753002: Revert 241291 (Fix a leak in ResourceDispatcher on cancel). (Closed)

Created:
6 years, 7 months ago by mmenke
Modified:
6 years, 7 months ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

Revert 241291 (Fix a leak in ResourceDispatcher on cancel). The CL fixed a memory leak when requests are cancelled, but caused crashes under certain circumstances. The leaks will still need to be fixed after this lands. BUG=chrome-os-partner:27911, 328092 > Fix a long standing leak on cancellation of renderer- > initiated URLRequests. ResourceDispatcher was not calling > peer->OnCompletedRequest on cancellation of async requests, > despite it being expected by WebURLLoaderImpl::Context > (The only ResourceLoaderBridge::Peer). > > This shouldn't impact externally visible behavior at all, > other than fixing the leak, because once > WebURLLoaderImpl::Context::Cancel() is called, it will never > call back into WebURLLoaderImpl. > > BUG=328092 > > Review URL: https://codereview.chromium.org/113893007 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273149

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M content/child/resource_dispatcher.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mmenke
This isn't an exact revert, because it's no longer necessary to call "SiteIsolationPolicy::OnRequestComplete(request_id);" as of ...
6 years, 7 months ago (2014-05-27 20:33:19 UTC) #1
mmenke
On 2014/05/27 20:33:19, mmenke wrote: > This isn't an exact revert, because it's no longer ...
6 years, 7 months ago (2014-05-27 20:34:52 UTC) #2
jam
On 2014/05/27 20:34:52, mmenke wrote: > On 2014/05/27 20:33:19, mmenke wrote: > > This isn't ...
6 years, 7 months ago (2014-05-28 00:39:24 UTC) #3
mmenke
The CQ bit was checked by mmenke@chromium.org
6 years, 7 months ago (2014-05-28 01:40:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmenke@chromium.org/301753002/1
6 years, 7 months ago (2014-05-28 01:42:23 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu on tryserver.chromium.gpu ...
6 years, 7 months ago (2014-05-28 03:31:15 UTC) #6
commit-bot: I haz the power
6 years, 7 months ago (2014-05-28 03:58:02 UTC) #7
Message was sent while issue was closed.
Change committed as 273149

Powered by Google App Engine
This is Rietveld 408576698