jviereck/pdf.js — comment on commit 36e618c373f718320faa0540536263a7c37068f9
File: src/pattern.js line 220
By jviereck:

Is added during the CanvasGraphics constructor already, so no need to call this function here ourself.