[Extensions] Remove GetAssociatedWebContents() calls from webstore APIs
The ExtensionFunction::GetAssociatedWebContentsDeprecated() method is unpredictable and can return surprising values in certain circumstances. It is deprecated and should be removed to ensure that callers are using the WebContents they expect. Update the webstore APIs (dashboardPrivate, inlineInstallPrivate, webstorePrivate, and webstoreWidgetPrivate) to use GetSenderWebContents() instead. Bug: 461394 Change-Id: I0c42797004c62218ab8de139ce58a175f796a50a Reviewed-on: https://chromium-review.googlesource.com/1019567Reviewed-by:Karan Bhatia <karandeepb@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#555834}
Showing
Please register or sign in to comment