Commit ad2cf1f2 authored by yurys@chromium.org's avatar yurys@chromium.org

Fix data race in InspectorInstrumentation::hasFrontends

BUG=527736

Review URL: https://codereview.chromium.org/1301323008

git-svn-id: svn://svn.chromium.org/blink/trunk@201750 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent ec56af03
......@@ -92,7 +92,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*);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment