Index: Source/core/inspector/InspectorInstrumentation.h |
diff --git a/Source/core/inspector/InspectorInstrumentation.h b/Source/core/inspector/InspectorInstrumentation.h |
index 440c7d0de6724225ab0ecd4b25cbe671189f1a2e..30bda7daa2c24085c1b21079a1969a05aaeb089c 100644 |
--- a/Source/core/inspector/InspectorInstrumentation.h |
+++ b/Source/core/inspector/InspectorInstrumentation.h |
@@ -91,7 +91,7 @@ private: |
inline void frontendCreated() { atomicIncrement(&FrontendCounter::s_frontendCounter); } |
inline void frontendDeleted() { atomicDecrement(&FrontendCounter::s_frontendCounter); } |
-inline bool hasFrontends() { return FrontendCounter::s_frontendCounter; } |
+inline bool hasFrontends() { return acquireLoad(&FrontendCounter::s_frontendCounter); } |
CORE_EXPORT void registerInstrumentingAgents(InstrumentingAgents*); |
CORE_EXPORT void unregisterInstrumentingAgents(InstrumentingAgents*); |