Index: src/log-utils.cc |
diff --git a/src/log-utils.cc b/src/log-utils.cc |
index 0a94ca972fc4ad38c8a1126996bd91ea09d19919..6bba8823e30333330afdd07a5b2630a309950057 100644 |
--- a/src/log-utils.cc |
+++ b/src/log-utils.cc |
@@ -48,7 +48,7 @@ Log::Log(Logger* logger) |
void Log::Initialize(const char* log_file_name) { |
- mutex_ = new Mutex; |
+ mutex_ = OS::CreateMutex(); |
message_buffer_ = NewArray<char>(kMessageBufferSize); |
// --log-all enables all the log flags. |