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..6a8e564b56f568f4ffa5d1539e0f8322c4ef1ad3 100644 |
--- a/chrome/browser/resources/pdf/pdf.js |
+++ b/chrome/browser/resources/pdf/pdf.js |
@@ -233,10 +233,9 @@ function PDFViewer(browserApi) { |
document.addEventListener('mouseout', this.handleMouseEvent_.bind(this)); |
var isInTab = this.browserApi_.getStreamInfo().tabId != -1; |
- var isSourceFileUrl = this.originalUrl_.startsWith('file://'); |
this.navigator_ = new Navigator( |
this.originalUrl_, this.viewport_, this.paramsParser_, |
- new NavigatorDelegate(isInTab, isSourceFileUrl)); |
+ new NavigatorDelegate(isInTab)); |
this.viewportScroller_ = |
new ViewportScroller(this.viewport_, this.plugin_, window); |