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

Unified Diff: chrome/browser/mac/exception_processor_unittest.mm

Issue 2565093002: [Mac] Fix unit_tests build in 10.12 SDK. (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/mac/exception_processor_unittest.mm
diff --git a/chrome/browser/mac/exception_processor_unittest.mm b/chrome/browser/mac/exception_processor_unittest.mm
index 74c1128fe65a6bc72aedd0ec1d3d07d5a5465110..0e8460be058769ea5003adcc09c4ff5dc24040f1 100644
--- a/chrome/browser/mac/exception_processor_unittest.mm
+++ b/chrome/browser/mac/exception_processor_unittest.mm
@@ -95,7 +95,7 @@ void RaiseExceptionInRunLoop() {
CFRunLoopRef run_loop = CFRunLoopGetCurrent();
CFRunLoopPerformBlock(run_loop, kCFRunLoopCommonModes, ^{
- [NSException raise:@"ThrowExceptionInRunLoop" format:nil];
+ [NSException raise:@"ThrowExceptionInRunLoop" format:@""];
});
CFRunLoopPerformBlock(run_loop, kCFRunLoopCommonModes, ^{
CFRunLoopStop(run_loop);
@@ -129,7 +129,7 @@ void ThrowAndCatchExceptionInRunLoop() {
CFRunLoopRef run_loop = CFRunLoopGetCurrent();
CFRunLoopPerformBlock(run_loop, kCFRunLoopCommonModes, ^{
@try {
- [NSException raise:@"ObjcExceptionPreprocessCaught" format:nil];
+ [NSException raise:@"ObjcExceptionPreprocessCaught" format:@""];
} @catch (id exception) {
}
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698