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

Unified Diff: third_party/WebKit/Source/core/inspector/InstanceCounters.cpp

Issue 2258873004: Leak Detector: Count ScriptPromise and ActiveDOMObject on worker threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix: Build fail on ChromeOS Created 4 years, 4 months 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 | « third_party/WebKit/Source/core/inspector/InstanceCounters.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/InstanceCounters.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InstanceCounters.cpp b/third_party/WebKit/Source/core/inspector/InstanceCounters.cpp
index c564b80ca508fc20bbe804cca85f70c704d7f63a..d0eccf67b78dc0580b13fdcb110922a9a5aebd5b 100644
--- a/third_party/WebKit/Source/core/inspector/InstanceCounters.cpp
+++ b/third_party/WebKit/Source/core/inspector/InstanceCounters.cpp
@@ -36,7 +36,7 @@ int InstanceCounters::s_counters[CounterTypeLength];
int InstanceCounters::counterValue(CounterType type)
{
- return s_counters[type];
+ return acquireLoad(&s_counters[type]);
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InstanceCounters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698