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

Unified Diff: src/log-utils.cc

Issue 21095008: Revert the latest set of platform changes. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 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.
« 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