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

Issue 20162: Fix a browser crash when the URLRequestChromeJob goes away... (Closed)

Created:
11 years, 10 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix a browser crash when the URLRequestChromeJob goes away from the NotifyReadComplete notification. BUG=7485 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=9541

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M chrome/browser/dom_ui/chrome_url_data_manager.cc View 1 2 chunks +2 lines, -2 lines 2 comments Download

Messages

Total messages: 9 (0 generated)
rvargas (doing something else)
11 years, 10 months ago (2009-02-07 03:10:46 UTC) #1
darin (slow to review)
it's not obvious how this fixes anything. can you explain why it is needed?
11 years, 10 months ago (2009-02-07 03:19:13 UTC) #2
rvargas (doing something else)
On 2009/02/07 03:19:13, darin wrote: > it's not obvious how this fixes anything. can you ...
11 years, 10 months ago (2009-02-07 03:40:50 UTC) #3
darin (slow to review)
I see... The whole point of URLRequestJob being a reference counted object is so that ...
11 years, 10 months ago (2009-02-07 07:25:00 UTC) #4
rvargas (doing something else)
On 2009/02/07 07:25:00, darin wrote: > I see... > > The whole point of URLRequestJob ...
11 years, 10 months ago (2009-02-09 22:44:25 UTC) #5
darin (slow to review)
http://codereview.chromium.org/20162/diff/4/5 File chrome/browser/dom_ui/chrome_url_data_manager.cc (right): http://codereview.chromium.org/20162/diff/4/5#newcode294 Line 294: pending_buf_ = NULL; so this part of the ...
11 years, 10 months ago (2009-02-09 22:49:15 UTC) #6
darin (slow to review)
> I was following the code on URLRequestJob::NotifyReadComplete which protects > itself inside the call, ...
11 years, 10 months ago (2009-02-09 22:49:59 UTC) #7
rvargas (doing something else)
http://codereview.chromium.org/20162/diff/4/5 File chrome/browser/dom_ui/chrome_url_data_manager.cc (right): http://codereview.chromium.org/20162/diff/4/5#newcode294 Line 294: pending_buf_ = NULL; On 2009/02/09 22:49:15, darin wrote: ...
11 years, 10 months ago (2009-02-09 23:01:52 UTC) #8
darin (slow to review)
11 years, 10 months ago (2009-02-10 04:44:59 UTC) #9
OK.. maybe add a comment about why we are taking a reference to the job, and
then LGTM

Powered by Google App Engine
This is Rietveld 408576698