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

Issue 8393002: Remove static function pointer from LazyInstance (Closed)

Created:
9 years, 2 months ago by joth
Modified:
9 years, 2 months ago
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

Remove static function pointer This save ~1720B from the size of debug chrome build. Also make the traits Delete method typesafe. BUG=None TEST=lazy_instance unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107170

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -15 lines) Patch
M base/lazy_instance.h View 4 chunks +8 lines, -15 lines 2 comments Download

Messages

Total messages: 5 (0 generated)
joth
This doesn't remove the static initializer, but I believe it does reduce the quantity of ...
9 years, 2 months ago (2011-10-25 14:22:57 UTC) #1
willchan no longer on Chromium
LGTM, thanks! http://codereview.chromium.org/8393002/diff/2001/base/lazy_instance.h File base/lazy_instance.h (left): http://codereview.chromium.org/8393002/diff/2001/base/lazy_instance.h#oldcode184 base/lazy_instance.h:184: // threaded, so don't use atomic operations. ...
9 years, 2 months ago (2011-10-25 15:57:25 UTC) #2
joth
On 2011/10/25 15:57:25, willchan wrote: > LGTM, thanks! > Cool, thanks. I'll see what CQ ...
9 years, 2 months ago (2011-10-25 17:00:01 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/8393002/2001
9 years, 2 months ago (2011-10-25 17:00:14 UTC) #4
commit-bot: I haz the power
9 years, 2 months ago (2011-10-25 19:04:49 UTC) #5
Change committed as 107170

Powered by Google App Engine
This is Rietveld 408576698