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:
parent
133cfc78fa
commit
b721e902dc
1 changed files with 0 additions and 7 deletions
|
@ -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.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue