diff options
Diffstat (limited to 'browser/extensions/pictureinpicture/experiment-apis')
-rw-r--r-- | browser/extensions/pictureinpicture/experiment-apis/pictureInPicture.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/browser/extensions/pictureinpicture/experiment-apis/pictureInPicture.js b/browser/extensions/pictureinpicture/experiment-apis/pictureInPicture.js index 9a2a3e14b8..991093ba6f 100644 --- a/browser/extensions/pictureinpicture/experiment-apis/pictureInPicture.js +++ b/browser/extensions/pictureinpicture/experiment-apis/pictureInPicture.js @@ -22,10 +22,9 @@ this.pictureInPictureParent = class extends ExtensionAPI { * Override ExtensionAPI with PiP override's specific API * Relays the site overrides to this extension's child process * - * @param {ExtensionContext} context the context of our extension * @returns {object} returns the necessary API structure required to manage sharedData in PictureInPictureParent */ - getAPI(context) { + getAPI() { return { pictureInPictureParent: { setOverrides(overrides) { |