Commit 4f43d029 authored by deepak.m1's avatar deepak.m1 Committed by Commit bot

Fix for Hyperlinks do not open in new tab by Print preview window.

navigate function of navigator object is not getting called.

Changes done so that navigate function of navigator will get called
with proper url and newTab as true value.

BUG=453307

Review URL: https://codereview.chromium.org/886773003

Cr-Commit-Position: refs/heads/master@{#313694}
parent 5900a7df
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment