1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 14:48:08 +02:00

Remove unused |getChromeWindow| function from PdfStreamConverter.jsm

This commit is contained in:
Jonas Jenwald 2015-03-24 18:47:23 +01:00
parent 133cfc78fa
commit b721e902dc

View file

@ -63,13 +63,6 @@ function getContainingBrowser(domWindow) {
.chromeEventHandler;
}
function getChromeWindow(domWindow) {
if (PdfjsContentUtils.isRemote) {
return PdfjsContentUtils.getChromeWindow(domWindow);
}
return getContainingBrowser(domWindow).ownerDocument.defaultView;
}
function getFindBar(domWindow) {
if (PdfjsContentUtils.isRemote) {
throw new Error('FindBar is not accessible from the content process.');