|
|
|
@ -350,17 +350,9 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
@@ -350,17 +350,9 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|
|
|
|
var self = this; |
|
|
|
|
this.operatorList = operatorList; |
|
|
|
|
|
|
|
|
|
var displayContinuation = function pageDisplayContinuation() { |
|
|
|
|
// Always defer call to display() to work around bug in
|
|
|
|
|
// Firefox error reporting from XHR callbacks.
|
|
|
|
|
setTimeout(function pageSetTimeout() { |
|
|
|
|
self.displayReadyPromise.resolve(); |
|
|
|
|
}); |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
this.ensureFonts(fonts, |
|
|
|
|
function pageStartRenderingFromOperatorListEnsureFonts() { |
|
|
|
|
displayContinuation(); |
|
|
|
|
self.displayReadyPromise.resolve(); |
|
|
|
|
} |
|
|
|
|
); |
|
|
|
|
}, |
|
|
|
|