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

Unified Diff: webrtc/base/stringencode.h

Issue 1335923002: Add RTC_ prefix to (D)CHECKs and related macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. 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/safe_conversions.h ('k') | webrtc/base/stringencode.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/stringencode.h
diff --git a/webrtc/base/stringencode.h b/webrtc/base/stringencode.h
index 356844cf8ba39773596a1f048ed21833305cc7e7..0b9ed0e87566d7510ac272e8385a370b8cc8bd49 100644
--- a/webrtc/base/stringencode.h
+++ b/webrtc/base/stringencode.h
@@ -176,7 +176,7 @@ bool tokenize_first(const std::string& source,
template <class T>
static bool ToString(const T &t, std::string* s) {
- DCHECK(s);
+ RTC_DCHECK(s);
std::ostringstream oss;
oss << std::boolalpha << t;
*s = oss.str();
@@ -185,7 +185,7 @@ static bool ToString(const T &t, std::string* s) {
template <class T>
static bool FromString(const std::string& s, T* t) {
- DCHECK(t);
+ RTC_DCHECK(t);
std::istringstream iss(s);
iss >> std::boolalpha >> *t;
return !iss.fail();
« no previous file with comments | « webrtc/base/safe_conversions.h ('k') | webrtc/base/stringencode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698