Index: chrome/common/profiling.cc |
diff --git a/chrome/common/profiling.cc b/chrome/common/profiling.cc |
index 9422a90243efe2a3ff388e746c87decb4a20ab18..946f54f1bb20b66c16b0f3a2ab3a0c0d307167b0 100644 |
--- a/chrome/common/profiling.cc |
+++ b/chrome/common/profiling.cc |
@@ -17,7 +17,7 @@ |
namespace { |
std::string GetProfileName() { |
static const char kDefaultProfileName[] = "chrome-profile-{type}-{pid}"; |
- static std::string profile_name; |
+ CR_DEFINE_STATIC_LOCAL(std::string, profile_name, ()); |
if (profile_name.empty()) { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |