DescriptionRemove the free_ member of scoped_ptr_malloc.
Conceptually, the function to call is known at compile time.
There is no reason to save it into a static variable. It turns out
doing causes the compiler to emit a static initializer to track whether
free_ has been initialized.
This change removes static initializers from eight .o files on my local
Release build.
BUG=87171
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98718
Patch Set 1 #
Total comments: 1
Patch Set 2 : fix #
Total comments: 1
Messages
Total messages: 12 (0 generated)
|