chore: replace absl::optional<T> with std::optional<T> (#40928)
* chore: replace absl::optional<T> with std::optional<T> * IWYU
This commit is contained in:
parent
fac964ac0d
commit
892c9d78a3
129 changed files with 419 additions and 397 deletions
|
@ -25,7 +25,7 @@ static NSMenu* __strong applicationMenu_;
|
|||
ui::Accelerator GetAcceleratorFromKeyEquivalentAndModifierMask(
|
||||
NSString* key_equivalent,
|
||||
NSUInteger modifier_mask) {
|
||||
absl::optional<char16_t> shifted_char;
|
||||
std::optional<char16_t> shifted_char;
|
||||
ui::KeyboardCode code = electron::KeyboardCodeFromStr(
|
||||
base::SysNSStringToUTF8(key_equivalent), &shifted_char);
|
||||
int modifiers = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue