Revision: 11011
Author: [email protected]
Date: Mon Mar 12 07:41:59 2012
Log: Fix broken build on Win32 due to r11010.
Review URL: https://chromiumcodereview.appspot.com/9666055
http://code.google.com/p/v8/source/detail?r=11011
Modified:
/branches/bleeding_edge/src/platform-win32.cc
=======================================
--- /branches/bleeding_edge/src/platform-win32.cc Mon Mar 12 06:56:56 2012
+++ /branches/bleeding_edge/src/platform-win32.cc Mon Mar 12 07:41:59 2012
@@ -1961,7 +1961,7 @@
interval_(interval) {}
static void AddActiveSampler(Sampler* sampler) {
- ScopedLock lock(mutex_);
+ ScopedLock lock(mutex_.Pointer());
SamplerRegistry::AddActiveSampler(sampler);
if (instance_ == NULL) {
instance_ = new SamplerThread(sampler->interval());
@@ -1972,7 +1972,7 @@
}
static void RemoveActiveSampler(Sampler* sampler) {
- ScopedLock lock(mutex_);
+ ScopedLock lock(mutex_.Pointer());
SamplerRegistry::RemoveActiveSampler(sampler);
if (SamplerRegistry::GetState() == SamplerRegistry::HAS_NO_SAMPLERS) {
RuntimeProfiler::StopRuntimeProfilerThreadBeforeShutdown(instance_);
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev