Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: src/log-utils.cc

Issue 21087012: Simplify implementation of Mutex. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix unit test. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/isolate.cc ('k') | src/mutex.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log-utils.cc
diff --git a/src/log-utils.cc b/src/log-utils.cc
index 6bba8823e30333330afdd07a5b2630a309950057..0a94ca972fc4ad38c8a1126996bd91ea09d19919 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_ = OS::CreateMutex();
+ mutex_ = new Mutex;
message_buffer_ = NewArray<char>(kMessageBufferSize);
// --log-all enables all the log flags.
« no previous file with comments | « src/isolate.cc ('k') | src/mutex.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698