Remove unused |getChromeWindow| function from PdfStreamConverter.jsm
This commit is contained in:
parent
133cfc78fa
commit
b721e902dc
@ -63,13 +63,6 @@ function getContainingBrowser(domWindow) {
|
|||||||
.chromeEventHandler;
|
.chromeEventHandler;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getChromeWindow(domWindow) {
|
|
||||||
if (PdfjsContentUtils.isRemote) {
|
|
||||||
return PdfjsContentUtils.getChromeWindow(domWindow);
|
|
||||||
}
|
|
||||||
return getContainingBrowser(domWindow).ownerDocument.defaultView;
|
|
||||||
}
|
|
||||||
|
|
||||||
function getFindBar(domWindow) {
|
function getFindBar(domWindow) {
|
||||||
if (PdfjsContentUtils.isRemote) {
|
if (PdfjsContentUtils.isRemote) {
|
||||||
throw new Error('FindBar is not accessible from the content process.');
|
throw new Error('FindBar is not accessible from the content process.');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user