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

Unified Diff: webrtc/base/criticalsection.h

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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 | « webrtc/base/constructormagic.h ('k') | webrtc/base/filerotatingstream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/criticalsection.h
diff --git a/webrtc/base/criticalsection.h b/webrtc/base/criticalsection.h
index 46a4f3408b96fef11f28b86b5427543635ab678c..241d611a074c081eade2f58ab67be74740919b9c 100644
--- a/webrtc/base/criticalsection.h
+++ b/webrtc/base/criticalsection.h
@@ -72,7 +72,7 @@ class SCOPED_LOCKABLE CritScope {
~CritScope() UNLOCK_FUNCTION();
private:
CriticalSection* const cs_;
- DISALLOW_COPY_AND_ASSIGN(CritScope);
+ RTC_DISALLOW_COPY_AND_ASSIGN(CritScope);
};
// Tries to lock a critical section on construction via
@@ -95,7 +95,7 @@ class TryCritScope {
CriticalSection* const cs_;
const bool locked_;
CS_DEBUG_CODE(mutable bool lock_was_called_);
- DISALLOW_COPY_AND_ASSIGN(TryCritScope);
+ RTC_DISALLOW_COPY_AND_ASSIGN(TryCritScope);
};
// A POD lock used to protect global variables. Do NOT use for other purposes.
@@ -121,7 +121,7 @@ class SCOPED_LOCKABLE GlobalLockScope {
~GlobalLockScope() UNLOCK_FUNCTION();
private:
GlobalLockPod* const lock_;
- DISALLOW_COPY_AND_ASSIGN(GlobalLockScope);
+ RTC_DISALLOW_COPY_AND_ASSIGN(GlobalLockScope);
};
} // namespace rtc
« no previous file with comments | « webrtc/base/constructormagic.h ('k') | webrtc/base/filerotatingstream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698