clang-format objc files (#12673)
This commit is contained in:
parent
94236bf4eb
commit
12a57ff1c2
54 changed files with 1298 additions and 1033 deletions
|
@ -17,7 +17,8 @@ namespace {
|
|||
|
||||
bool HasMainProcessKey() {
|
||||
NSDictionary* info_dictionary = [base::mac::MainBundle() infoDictionary];
|
||||
return [[info_dictionary objectForKey:@"ElectronMainProcess"] boolValue] != NO;
|
||||
return
|
||||
[[info_dictionary objectForKey:@"ElectronMainProcess"] boolValue] != NO;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
@ -48,7 +49,8 @@ base::FilePath MainApplicationBundlePath() {
|
|||
}
|
||||
|
||||
NSBundle* MainApplicationBundle() {
|
||||
return [NSBundle bundleWithPath:base::mac::FilePathToNSString(MainApplicationBundlePath())];
|
||||
return [NSBundle bundleWithPath:base::mac::FilePathToNSString(
|
||||
MainApplicationBundlePath())];
|
||||
}
|
||||
|
||||
} // namespace brightray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue