chore: fix linter errors in .mm files (#21931)
* chore: fix the "npm run lint:obj" invocation * chore: fix linter errors in .mm files
This commit is contained in:
parent
20660285e2
commit
bc0f5acc73
6 changed files with 13 additions and 5 deletions
|
@ -33,9 +33,9 @@ static base::mac::ScopedObjCClassSwizzler* g_swizzle_imk_input_session;
|
|||
// not have fatal OOM occur while this method executes, but it is better
|
||||
// than crashing when using IME.
|
||||
base::allocator::SetCallNewHandlerOnMallocFailure(false);
|
||||
g_swizzle_imk_input_session
|
||||
->InvokeOriginal<void, NSRange, long long, void (^)(void)>(
|
||||
self, _cmd, range, attributes, block);
|
||||
g_swizzle_imk_input_session->InvokeOriginal<
|
||||
void, NSRange, long long, void (^)(void)>( // NOLINT(runtime/int)
|
||||
self, _cmd, range, attributes, block);
|
||||
base::allocator::SetCallNewHandlerOnMallocFailure(true);
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue