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]); |
} |