[api-minor] Remove the deprecated PDFDocumentProxy.getOpenActionDestination method (PR 11644 follow-up)

This method has been printing a `deprecated` warning in two releases, hence it should hopefully be safe to remove now.
This commit is contained in:
Jonas Jenwald 2020-06-02 12:25:15 +02:00
parent 8fc1126b5a
commit 64378fc366

View File

@ -661,13 +661,6 @@ class PDFDocumentProxy {
return this._transport.getOpenAction(); return this._transport.getOpenAction();
} }
getOpenActionDestination() {
deprecated("getOpenActionDestination, use getOpenAction instead.");
return this.getOpenAction().then(function (openAction) {
return openAction && openAction.dest ? openAction.dest : null;
});
}
/** /**
* @returns {Promise} A promise that is resolved with a lookup table for * @returns {Promise} A promise that is resolved with a lookup table for
* mapping named attachments to their content. * mapping named attachments to their content.