diff --git a/src/display/api.js b/src/display/api.js index 74e9876b0..2599052c5 100644 --- a/src/display/api.js +++ b/src/display/api.js @@ -756,10 +756,6 @@ var PDFDocumentProxy = (function PDFDocumentProxyClosure() { * just before viewport transform. * @property {Object} imageLayer - (optional) An object that has beginLayout, * endLayout and appendImage functions. - * @property {function} continueCallback - (deprecated) A function that will be - * called each time the rendering is paused. To continue - * rendering call the function that is the first argument - * to the callback. * @property {Object} canvasFactory - (optional) The factory that will be used * when creating canvases. The default value is * {DOMCanvasFactory}. @@ -933,12 +929,6 @@ var PDFPageProxy = (function PDFPageProxyClosure() { intentState.renderTasks.push(internalRenderTask); var renderTask = internalRenderTask.task; - // Obsolete parameter support - if (params.continueCallback) { - deprecated('render is used with continueCallback parameter'); - renderTask.onContinue = params.continueCallback; - } - intentState.displayReadyCapability.promise.then((transparency) => { if (this.pendingCleanup) { complete();