| Index: chrome/browser/resources/pdf/zoom_manager.js
|
| diff --git a/chrome/browser/resources/pdf/zoom_manager.js b/chrome/browser/resources/pdf/zoom_manager.js
|
| index 25086938e3679e9082722cf07f78b0a1f75218bd..82ce5e7dfbf884043d391319c92258f02d192d30 100644
|
| --- a/chrome/browser/resources/pdf/zoom_manager.js
|
| +++ b/chrome/browser/resources/pdf/zoom_manager.js
|
| @@ -145,16 +145,17 @@ class ActiveZoomManager extends ZoomManager {
|
| if (this.floatingPointEquals(this.browserZoom_, zoom))
|
| return;
|
|
|
| - this.changingBrowserZoom_ = this.setBrowserZoomFunction_(zoom).then(
|
| - function() {
|
| - this.browserZoom_ = zoom;
|
| - this.changingBrowserZoom_ = null;
|
| -
|
| - // The extension's zoom level may have changed while the browser zoom
|
| - // change was in progress. We call back into onPdfZoomChange to ensure the
|
| - // browser zoom is up to date.
|
| - this.onPdfZoomChange();
|
| - }.bind(this));
|
| + this.changingBrowserZoom_ =
|
| + this.setBrowserZoomFunction_(zoom).then(function() {
|
| + this.browserZoom_ = zoom;
|
| + this.changingBrowserZoom_ = null;
|
| +
|
| + // The extension's zoom level may have changed while the browser zoom
|
| + // change was in progress. We call back into onPdfZoomChange to ensure
|
| + // the
|
| + // browser zoom is up to date.
|
| + this.onPdfZoomChange();
|
| + }.bind(this));
|
| }
|
|
|
| /**
|
|
|