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
|
@ -7,9 +7,10 @@
|
|||
|
||||
#include <Quartz/Quartz.h>
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include "base/memory/raw_ptr.h"
|
||||
#include "components/remote_cocoa/app_shim/views_nswindow_delegate.h"
|
||||
#include "third_party/abseil-cpp/absl/types/optional.h"
|
||||
|
||||
namespace electron {
|
||||
class NativeWindowMac;
|
||||
|
@ -30,7 +31,7 @@ class NativeWindowMac;
|
|||
// Only valid during a live resize.
|
||||
// Used to keep track of whether a resize is happening horizontally or
|
||||
// vertically, even if physically the user is resizing in both directions.
|
||||
absl::optional<bool> resizingHorizontally_;
|
||||
std::optional<bool> resizingHorizontally_;
|
||||
}
|
||||
- (id)initWithShell:(electron::NativeWindowMac*)shell;
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue