From 506828d52258c8bea39d7d7320a0413ae7256707 Mon Sep 17 00:00:00 2001 From: Andreas Gal <andreas.gal@gmail.com> Date: Sat, 7 May 2011 22:57:04 -0700 Subject: [PATCH] fix StringStream constructor delegation to Stream --- pdf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf.js b/pdf.js index c92bf9bc2..74a5b2182 100644 --- a/pdf.js +++ b/pdf.js @@ -76,7 +76,7 @@ var StringStream = (function () { var bytes = new Uint8Array(length); for (var n = 0; n < length; ++n) bytes[n] = str.charCodeAt(n); - this.Stream(bytes); + Stream.call(this, bytes); } constructor.prototype = Stream.prototype;