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

Unified Diff: webrtc/rtc_base/checks.cc

Issue 3007253002: Remove typedefs.h from webrtc/ root (part 1)
Patch Set: backwards compatible FALLTHROUGH #define Created 3 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/rtc_base/checks.h ('k') | webrtc/rtc_base/httpbase.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/rtc_base/checks.cc
diff --git a/webrtc/rtc_base/checks.cc b/webrtc/rtc_base/checks.cc
index 533240f066dc6494c5e598f9649e2f95f2b7bdc4..ee0bbb8b17fbbc7a80abf8ac8e50083e9aa229ea 100644
--- a/webrtc/rtc_base/checks.cc
+++ b/webrtc/rtc_base/checks.cc
@@ -100,7 +100,7 @@ FatalMessage::FatalMessage(const char* file, int line, std::string* result) {
delete result;
}
-NO_RETURN FatalMessage::~FatalMessage() {
+RTC_NO_RETURN FatalMessage::~FatalMessage() {
fflush(stdout);
fflush(stderr);
stream_ << std::endl << "#" << std::endl;
@@ -136,6 +136,8 @@ template std::string* MakeCheckOpString<std::string, std::string>(
} // namespace rtc
// Function to call from the C version of the RTC_CHECK and RTC_DCHECK macros.
-NO_RETURN void rtc_FatalMessage(const char* file, int line, const char* msg) {
+RTC_NO_RETURN void rtc_FatalMessage(const char* file,
+ int line,
+ const char* msg) {
rtc::FatalMessage(file, line).stream() << msg;
}
« no previous file with comments | « webrtc/rtc_base/checks.h ('k') | webrtc/rtc_base/httpbase.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698