tcmalloc: 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 Review URL: https://codereview.chromium.org/286953011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271307 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment