Remove the deprecated destroy method of the API

This is deprecated since October 2015 with a visible message, so we can
safely remove this now.
This commit is contained in:
Tim van der Meij 2017-10-01 15:04:36 +02:00
parent 9b353ef407
commit 918bd98a2f
No known key found for this signature in database
GPG Key ID: 8C3FD2925A5F2762

View File

@ -1063,14 +1063,6 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
return Promise.all(waitOn);
},
/**
* Cleans up resources allocated by the page. (deprecated)
*/
destroy() {
deprecated('page destroy method, use cleanup() instead');
this.cleanup();
},
/**
* Cleans up resources allocated by the page.
*/