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

Issue 2340153004: Make BindStateBase RefCountedThreadSafe (Closed)

Created:
4 years, 3 months ago by tzik
Modified:
3 years, 9 months ago
Reviewers:
dcheng
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make BindStateBase RefCountedThreadSafe Since RefCountedThreadSafe no longer requires virtual destructor, being RefCountedThreadSafe doesn't increase the binary size significantly. This CL replaces the custom refcount in BindStateBase with RefCountedThreadSafe.

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : fix #

Patch Set 4 : +comment #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -18 lines) Patch
M base/callback_internal.h View 1 2 3 3 chunks +26 lines, -7 lines 3 comments Download
M base/callback_internal.cc View 1 3 chunks +6 lines, -11 lines 0 comments Download

Messages

Total messages: 17 (14 generated)
tzik
PTAL
4 years, 3 months ago (2016-09-21 16:47:11 UTC) #12
dcheng
https://codereview.chromium.org/2340153004/diff/60001/base/callback_internal.h File base/callback_internal.h (right): https://codereview.chromium.org/2340153004/diff/60001/base/callback_internal.h#newcode44 base/callback_internal.h:44: static void Destruct(const BindStateBase* obj); Does it make sense ...
4 years, 3 months ago (2016-09-21 22:07:50 UTC) #16
dcheng
4 years, 3 months ago (2016-09-21 22:08:02 UTC) #17
Also, what is the overall size impact of this CL?

Powered by Google App Engine
This is Rietveld 408576698