Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Unified Diff: chrome/browser/resources/pdf/pdf.js

Issue 886773003: Fix for Hyperlinks do not open in new tab by Print preview window. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Making proper call to navigate function. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/pdf/pdf.js
diff --git a/chrome/browser/resources/pdf/pdf.js b/chrome/browser/resources/pdf/pdf.js
index b6d5caa5d35079af211be6911ac116be1d88236d..a207c9ebb48abd42b682148002e214b8d8f1a221 100644
--- a/chrome/browser/resources/pdf/pdf.js
+++ b/chrome/browser/resources/pdf/pdf.js
@@ -410,7 +410,7 @@ PDFViewer.prototype = {
case 'navigate':
// If in print preview, always open a new tab.
if (this.isPrintPreview_)
- this.navigate_(message.data.url, true);
+ this.navigator_.navigate(message.data.url, true);
else
this.navigator_.navigate(message.data.url, message.data.newTab);
break;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698