| Index: chrome/browser/resources/pdf/pdf_scripting_api.js
|
| diff --git a/chrome/browser/resources/pdf/pdf_scripting_api.js b/chrome/browser/resources/pdf/pdf_scripting_api.js
|
| index fa570aeeb989b0d5f62c29660ceaf7cadb3d92a5..84b94b12450f611cde0e95e394438f6b15a4b465 100644
|
| --- a/chrome/browser/resources/pdf/pdf_scripting_api.js
|
| +++ b/chrome/browser/resources/pdf/pdf_scripting_api.js
|
| @@ -250,8 +250,6 @@
|
| },
|
| };
|
|
|
| -var IS_MAC_PARAM = 'isMac&';
|
| -
|
| /**
|
| * Creates a PDF viewer with a scripting interface. This is basically 1) an
|
| * iframe which is navigated to the PDF viewer extension and 2) a scripting
|
| @@ -262,11 +260,9 @@
|
| */
|
| function PDFCreateOutOfProcessPlugin(src) {
|
| var iframe = window.document.createElement('iframe');
|
| - var isMac = cr.isMac ? IS_MAC_PARAM : '';
|
| iframe.setAttribute(
|
| 'src',
|
| - 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html?' +
|
| - isMac + src);
|
| + 'chrome-extension://mhjfbmdgcfjbbpaeojofohoefgiehjai/index.html?' + src);
|
| // Prevent the frame from being tab-focusable.
|
| iframe.setAttribute('tabindex', '-1');
|
| var client = new PDFScriptingAPI(window);
|
|
|