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:
Milan Burda 2024-01-10 23:23:35 +01:00 committed by GitHub
commit 892c9d78a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
129 changed files with 419 additions and 397 deletions

View file

@ -117,8 +117,8 @@ class NativeImage : public gin::Wrappable<NativeImage> {
gin::Handle<NativeImage> Crop(v8::Isolate* isolate, const gfx::Rect& rect);
std::string ToDataURL(gin::Arguments* args);
bool IsEmpty();
gfx::Size GetSize(const absl::optional<float> scale_factor);
float GetAspectRatio(const absl::optional<float> scale_factor);
gfx::Size GetSize(const std::optional<float> scale_factor);
float GetAspectRatio(const std::optional<float> scale_factor);
void AddRepresentation(const gin_helper::Dictionary& options);
void UpdateExternalAllocatedMemoryUsage();