Bug 1613431 - Part 2: Ignore synced setters return value. r=nika
Depends on D83645 Differential Revision: https://phabricator.services.mozilla.com/D83646
This commit is contained in:
@@ -680,7 +680,8 @@ void ImageDocument::ResetZoomLevel() {
|
||||
}
|
||||
|
||||
if (RefPtr<BrowsingContext> bc = GetBrowsingContext()) {
|
||||
bc->SetFullZoom(mOriginalZoomLevel);
|
||||
// Resetting the zoom level on a discarded browsing context has no effect.
|
||||
Unused << bc->SetFullZoom(mOriginalZoomLevel);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user