Replace kEmptyString with OnceInit initialized string*
This removes the global constructor call for std::string kEmptyString. This is roughly an application of b/7549760 from the internal version of protobuf. Upstream patch here https://codereview.appspot.com/63480043/. R=fischman@chromium.org TBR=darin@chromium.org BUG=341941,94925 Review URL: https://codereview.chromium.org/164743002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251212 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment