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

Issue 12615004: Fix heapcheck errors (Closed)

Created:
7 years, 9 months ago by Zachary Kuznia
Modified:
7 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Fix the heapcheck errors caused by StreamContext by using the same delete code as ChromeBlobStorageContext BUG=None

Patch Set 1 #

Patch Set 2 : Clean up memory in StreamUnittest #

Patch Set 3 : Remove extra code #

Patch Set 4 : Use weak pointer #

Patch Set 5 : Add comment #

Total comments: 1

Patch Set 6 : Add another comment #

Patch Set 7 : Fix the comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -5 lines) Patch
M content/browser/streams/stream.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/streams/stream.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M content/browser/streams/stream_context.h View 3 chunks +13 lines, -2 lines 0 comments Download
M content/browser/streams/stream_context.cc View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
darin (slow to review)
https://codereview.chromium.org/12615004/diff/9001/content/browser/streams/stream_context.cc File content/browser/streams/stream_context.cc (right): https://codereview.chromium.org/12615004/diff/9001/content/browser/streams/stream_context.cc#newcode44 content/browser/streams/stream_context.cc:44: void StreamContext::DeleteOnCorrectThread() const { I'm really not a big ...
7 years, 9 months ago (2013-03-11 20:26:41 UTC) #1
Zachary Kuznia
On 2013/03/11 20:26:41, darin wrote: > https://codereview.chromium.org/12615004/diff/9001/content/browser/streams/stream_context.cc > File content/browser/streams/stream_context.cc (right): > > https://codereview.chromium.org/12615004/diff/9001/content/browser/streams/stream_context.cc#newcode44 > ...
7 years, 9 months ago (2013-03-11 21:46:26 UTC) #2
darin (slow to review)
If you are going to do it as a follow-up CL, then please add a ...
7 years, 9 months ago (2013-03-11 22:15:29 UTC) #3
Zachary Kuznia
7 years, 9 months ago (2013-03-11 22:24:22 UTC) #4
On 2013/03/11 22:15:29, darin wrote:
> If you are going to do it as a follow-up CL, then please add a TODO(zork)
> to that section.
> I think it is still worth looking to see if there isn't a simple solution
> now.
> 
> -Darin
> 

Done.

Powered by Google App Engine
This is Rietveld 408576698