diff options
Diffstat (limited to 'chromium/chrome/browser/resources/pdf/browser_api.js')
-rw-r--r-- | chromium/chrome/browser/resources/pdf/browser_api.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/chrome/browser/resources/pdf/browser_api.js b/chromium/chrome/browser/resources/pdf/browser_api.js index f03bdb567a5..789c9c29586 100644 --- a/chromium/chrome/browser/resources/pdf/browser_api.js +++ b/chromium/chrome/browser/resources/pdf/browser_api.js @@ -90,7 +90,7 @@ export class BrowserApi { * @param {string} url The URL to navigate the tab to. */ navigateInCurrentTab(url) { - const tabId = this.getStreamInfo().tabId; + const tabId = 0; // We need to use the tabs API to navigate because // |window.location.href| cannot be used. This PDF extension is not loaded // in the top level frame (it's embedded using MimeHandlerView). Using |