diff --git a/src/core/jpeg_stream.js b/src/core/jpeg_stream.js index 75936ab8f..88a2d50cf 100644 --- a/src/core/jpeg_stream.js +++ b/src/core/jpeg_stream.js @@ -100,11 +100,6 @@ let JpegStream = (function JpegStreamClosure() { this.eof = true; }; - JpegStream.prototype.getBytes = function(length) { - this.readBlock(); - return this.buffer; - }; - JpegStream.prototype.getIR = function(forceDataSchema = false) { return createObjectURL(this.bytes, 'image/jpeg', forceDataSchema); };