Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index f2564f9f3eb83cfb1042b2d583b1295c03e88332..481e852447257e234d1fbaadb0b3a5b79c4a71ab 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2637,11 +2637,7 @@ bool Isolate::PropagatePendingExceptionToExternalTryCatch() { |
return true; |
} |
-static base::LazyMutex initialize_counters_mutex = LAZY_MUTEX_INITIALIZER; |
- |
bool Isolate::InitializeCounters() { |
- if (counters_ != nullptr) return false; |
- base::LockGuard<base::Mutex> guard(initialize_counters_mutex.Pointer()); |
if (counters_ != nullptr) return false; |
counters_shared_ = std::make_shared<Counters>(this); |
counters_ = counters_shared_.get(); |