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.');