textLayer is not used anymore in render context.

It should be removed to prevent confusion when reading the code.
This commit is contained in:
Mitar 2014-09-19 15:09:05 -07:00 committed by Mitar
parent e77e5c442f
commit 2f72ac1255
2 changed files with 0 additions and 2 deletions

View File

@ -311,7 +311,6 @@ function nextPage(task, loadError) {
} }
var renderContext = { var renderContext = {
canvasContext: drawContext, canvasContext: drawContext,
textLayer: textLayerBuilder,
viewport: viewport viewport: viewport
}; };
var completeRender = (function(error) { var completeRender = (function(error) {

View File

@ -644,7 +644,6 @@ var PageView = function pageView(container, id, scale,
var renderContext = { var renderContext = {
canvasContext: ctx, canvasContext: ctx,
viewport: this.viewport, viewport: this.viewport,
textLayer: textLayer,
// intent: 'default', // === 'display' // intent: 'default', // === 'display'
continueCallback: function pdfViewcContinueCallback(cont) { continueCallback: function pdfViewcContinueCallback(cont) {
if (PDFView.highestPriorityPage !== 'page' + self.id) { if (PDFView.highestPriorityPage !== 'page' + self.id) {