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

Issue 1756019: Fix some uses of scoped_ptr.release() in net/ such that the return value is not ignored. (Closed)

Created:
10 years, 7 months ago by Evan Stade
Modified:
9 years, 6 months ago
CC:
chromium-reviews, pam+watch_chromium.org, John Grabowski, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Fix some uses of scoped_ptr.release() in net/ such that the return value is not ignored. client_socket_pool_base.cc change contributed by vandebo@chromium BUG=42904 TEST=existing net tests/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46409

Patch Set 1 #

Total comments: 4

Patch Set 2 : always take ownership #

Patch Set 3 : add back the change that got lost in the void #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -26 lines) Patch
M net/disk_cache/entry_impl.cc View 1 2 chunks +3 lines, -4 lines 0 comments Download
M net/disk_cache/file_posix.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/socket/client_socket_pool_base.h View 1 2 chunks +4 lines, -8 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 1 2 2 chunks +7 lines, -8 lines 0 comments Download
M net/socket/socks_client_socket_pool_unittest.cc View 2 chunks +3 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Evan Stade
10 years, 7 months ago (2010-04-30 21:44:08 UTC) #1
vandebo (ex-Chrome)
http://codereview.chromium.org/1756019/diff/1/2 File net/disk_cache/entry_impl.cc (right): http://codereview.chromium.org/1756019/diff/1/2#newcode865 net/disk_cache/entry_impl.cc:865: EXPLICITLY_UNUSED(user_buffers_[index].release()); Maybe UNUSED_RESULT would be a better name? This ...
10 years, 7 months ago (2010-04-30 21:51:40 UTC) #2
willchan no longer on Chromium
LGTM http://codereview.chromium.org/1756019/diff/1/2 File net/disk_cache/entry_impl.cc (right): http://codereview.chromium.org/1756019/diff/1/2#newcode865 net/disk_cache/entry_impl.cc:865: EXPLICITLY_UNUSED(user_buffers_[index].release()); Where's this macro from? How does it ...
10 years, 7 months ago (2010-04-30 21:54:33 UTC) #3
willchan no longer on Chromium
Oops, I misread that. Ignore my comment on ALLOW_UNUSED.
10 years, 7 months ago (2010-04-30 21:59:38 UTC) #4
Evan Stade
http://codereview.chromium.org/1756019/diff/1/5 File net/socket/client_socket_pool_base.h (right): http://codereview.chromium.org/1756019/diff/1/5#newcode532 net/socket/client_socket_pool_base.h:532: delete request; On 2010/04/30 21:51:41, vandebo wrote: > You've ...
10 years, 7 months ago (2010-05-03 23:53:05 UTC) #5
vandebo (ex-Chrome)
10 years, 7 months ago (2010-05-04 18:43:20 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698