Merge pull request #3045 from mduan/remove-gfx

Remove code that is not being used
This commit is contained in:
Yury Delendik 2013-04-06 09:42:06 -07:00
commit a017e105cc

View File

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* globals CanvasGraphics, error, globalScope, InvalidPDFException, log,
/* globals error, globalScope, InvalidPDFException, log,
MissingPDFException, PasswordException, PDFDocument, PDFJS, Promise,
Stream, UnknownErrorException, warn */
@ -245,11 +245,6 @@ var WorkerMessageHandler = {
handler.on('RenderPageRequest', function wphSetupRenderPage(data) {
var pageNum = data.pageIndex + 1;
// The following code does quite the same as
// Page.prototype.startRendering, but stops at one point and sends the
// result back to the main thread.
var gfx = new CanvasGraphics(null);
var start = Date.now();
var dependency = [];