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

Unified Diff: webrtc/base/applefilesystem.mm

Issue 2620303003: Replace ASSERT by RTC_DCHECK in all non-test code. (Closed)
Patch Set: Address final nits. Created 3 years, 11 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/api/webrtcsessiondescriptionfactory.cc ('k') | webrtc/base/asyncsocket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/applefilesystem.mm
diff --git a/webrtc/base/applefilesystem.mm b/webrtc/base/applefilesystem.mm
index 9f015edf071502e02f24d1f9f7e8994388a88c55..04b6cdfc3a2e0a6538454fcd393e7ef274063094 100644
--- a/webrtc/base/applefilesystem.mm
+++ b/webrtc/base/applefilesystem.mm
@@ -16,6 +16,7 @@
#import <Foundation/NSProcessInfo.h>
#include <string.h>
+#include "webrtc/base/checks.h"
#include "webrtc/base/common.h"
#include "webrtc/base/pathutils.h"
@@ -36,7 +37,7 @@ static char* copyString(NSString* s) {
char* AppleDataDirectory() {
NSArray* paths = NSSearchPathForDirectoriesInDomains(
NSApplicationSupportDirectory, NSUserDomainMask, YES);
- ASSERT([paths count] == 1);
+ RTC_DCHECK([paths count] == 1);
return copyString([paths objectAtIndex:0]);
}
« no previous file with comments | « webrtc/api/webrtcsessiondescriptionfactory.cc ('k') | webrtc/base/asyncsocket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698