Descriptiontcmalloc: Let DEFINE_string define const char*s.
DEFINE_string is used in 3 files in tcmalloc, but we only compile one of
these. In this one file, the string is converted to char every time it's used,
and since the string is used after global destructors have run it needs to be
copied to a second string in a static initializer.
Instead of all that silliness, just let DEFINE_string define a const char*
(like it does in v8 or webrtc).
BUG=94925
R=willchan@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271307
Patch Set 1 #Patch Set 2 : * #
Messages
Total messages: 8 (0 generated)
|