[Extension Functions] Remove GetExtensionWindowController
Remove ChromeAsyncExtensionFunction::GetExtensionWindowController() and ChromeExtensionFunctionDetails::GetExtensionWindowController(). Each of these were never used. Additionally, the behavior is very non- deterministic, and could return any one of a number of different windows. Instead, ExtensionFunctions should fetch the appropriate window for the call (typically, through GetSenderWebContents()), rather than by relying on getting any window the extension can access. Bug: 809194 Change-Id: I00fc417cfbe4c9161f2475f50ab77fe843677faa Reviewed-on: https://chromium-review.googlesource.com/902198Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#534535}
Showing
Please register or sign in to comment