| Index: chrome/browser/resources/pdf/pdf.js
|
| diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js
|
| index 9805660b562c34e82cae189e4670abaace68eb8e..e5acd4b355becbdf0c9586158b7e5960bfa53d4a 100644
|
| --- a/chrome/browser/resources/pdf/pdf.js
|
| +++ b/chrome/browser/resources/pdf/pdf.js
|
| @@ -101,7 +101,7 @@ function PDFViewer(browserApi) {
|
|
|
| this.delayedScriptingMessages_ = [];
|
|
|
| - this.isPrintPreview_ = this.originalUrl_.startsWith('chrome://print');
|
| + this.isPrintPreview_ = location.origin === 'chrome://print';
|
|
|
| // Parse open pdf parameters.
|
| this.paramsParser_ =
|
|
|