Merge pull request #11958 from Snuffleupagus/rm-getOpenActionDestination

[api-minor] Remove the deprecated `PDFDocumentProxy.getOpenActionDestination` method (PR 11644 follow-up)
This commit is contained in:
Tim van der Meij 2020-06-02 23:51:55 +02:00 committed by GitHub
commit 96ad60f116
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -661,13 +661,6 @@ class PDFDocumentProxy {
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
* mapping named attachments to their content.