summaryrefslogtreecommitdiffstats
path: root/netwerk/cache/nsCacheService.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-10-01 11:31:29 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-10-01 11:31:29 +0200
commitec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f (patch)
treeb021c360a3b092a802d42827cf8416790cbd7ab2 /netwerk/cache/nsCacheService.h
parentd718e32b522ebc06f3093df72a3409a3d2fe046e (diff)
downloadUXP-ec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f.tar
UXP-ec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f.tar.gz
UXP-ec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f.tar.lz
UXP-ec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f.tar.xz
UXP-ec4c6dd42abcbf6fd081ce3da1dbf1b5ea9c0d8f.zip
Remove telemetry from cache v1 service locking (part2).
- Fold Lock(TelemetryID) into Lock(); - Fold nsCacheServiceAutoLock(TelemetryID) into nsCacheServiceAutoLock(); Tag #21.
Diffstat (limited to 'netwerk/cache/nsCacheService.h')
-rw-r--r--netwerk/cache/nsCacheService.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/netwerk/cache/nsCacheService.h b/netwerk/cache/nsCacheService.h
index 1751d4875..95816cfe5 100644
--- a/netwerk/cache/nsCacheService.h
+++ b/netwerk/cache/nsCacheService.h
@@ -371,9 +371,6 @@ private:
* nsCacheServiceAutoLock
******************************************************************************/
-#define LOCK_TELEM(x) \
- (::mozilla::Telemetry::CACHE_SERVICE_LOCK_WAIT_MAINTHREAD_##x)
-
// Instantiate this class to acquire the cache service lock for a particular
// execution scope.
class nsCacheServiceAutoLock {
@@ -381,9 +378,6 @@ public:
nsCacheServiceAutoLock() {
nsCacheService::Lock();
}
- explicit nsCacheServiceAutoLock(mozilla::Telemetry::ID mainThreadLockerID) {
- nsCacheService::Lock(mainThreadLockerID);
- }
~nsCacheServiceAutoLock() {
nsCacheService::Unlock();
}