fix: crash on invalid zoomFactor (#22673)
This commit is contained in:
parent
9c5874306d
commit
a4c4c86b9d
6 changed files with 37 additions and 5 deletions
|
@ -297,7 +297,7 @@ class WebContents : public gin_helper::TrackableObject<WebContents>,
|
|||
// Methods for zoom handling.
|
||||
void SetZoomLevel(double level);
|
||||
double GetZoomLevel() const;
|
||||
void SetZoomFactor(double factor);
|
||||
void SetZoomFactor(gin_helper::ErrorThrower thrower, double factor);
|
||||
double GetZoomFactor() const;
|
||||
|
||||
// Callback triggered on permission response.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue