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

Unified Diff: runtime/vm/native_symbol_win.cc

Issue 109803002: Profiler Take 2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/os.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_symbol_win.cc
diff --git a/runtime/vm/native_symbol_win.cc b/runtime/vm/native_symbol_win.cc
index 7e8350f552767cf79b70181e28cd2da153a74105..b44633f9786a1334dc4a99a1c47581f55e4900a2 100644
--- a/runtime/vm/native_symbol_win.cc
+++ b/runtime/vm/native_symbol_win.cc
@@ -32,7 +32,7 @@ void NativeSymbolResolver::InitOnce() {
void NativeSymbolResolver::ShutdownOnce() {
- ScopedMutex lock(lock_);
+ MutexLocker lock(lock_);
if (!running_) {
return;
}
@@ -52,7 +52,7 @@ char* NativeSymbolResolver::LookupSymbolName(uintptr_t pc) {
static const intptr_t kSymbolInfoSize = sizeof(SYMBOL_INFO); // NOLINT.
static char buffer[kSymbolInfoSize + kMaxNameLength];
static char name_buffer[kMaxNameLength];
- ScopedMutex lock(lock_);
+ MutexLocker lock(lock_);
if (!running_) {
return NULL;
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/os.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698