Bug 1278985 - Remove unused URL arg from CreateChromeWindow2. r=mrbkap

This isn't used at all internally, and was probably used by people
embedding Gecko back when Gecko was more embeddable.

For now, it's just noise - I figure we can remove it.

MozReview-Commit-ID: I1H2WZeoHTJ

--HG--
extra : rebase_source : bd9f12ca3d68e3f802e0270d9872143102db32e6
This commit is contained in:
Mike Conley 2016-04-27 16:19:25 -04:00
parent f7bfa3bd44
commit bd7b1c0ad4
2 changed files with 1 additions and 8 deletions

View File

@ -40,11 +40,6 @@ interface nsIWindowCreator2 : nsIWindowCreator {
to the underlying OS).
@param chromeFlags Chrome features from nsIWebBrowserChrome
@param contextFlags Flags about the context of the window being created.
@param uri The URL for which this window is intended. It can be null
or zero-length. The implementation of this interface
may use the URL to help determine what sort of window
to open or whether to cancel window creation. It will not
load the URL.
@param aOpeningTab The TabParent that is trying to open this new chrome
window. Can be nullptr.
@param cancel Return |true| to reject window creation. If true the
@ -56,7 +51,6 @@ interface nsIWindowCreator2 : nsIWindowCreator {
nsIWebBrowserChrome createChromeWindow2(in nsIWebBrowserChrome parent,
in uint32_t chromeFlags,
in uint32_t contextFlags,
in nsIURI uri,
in nsITabParent aOpeningTab,
out boolean cancel);

View File

@ -614,7 +614,7 @@ nsAppStartup::CreateChromeWindow(nsIWebBrowserChrome *aParent,
nsIWebBrowserChrome **_retval)
{
bool cancel;
return CreateChromeWindow2(aParent, aChromeFlags, 0, 0, nullptr, &cancel, _retval);
return CreateChromeWindow2(aParent, aChromeFlags, 0, nullptr, &cancel, _retval);
}
@ -637,7 +637,6 @@ NS_IMETHODIMP
nsAppStartup::CreateChromeWindow2(nsIWebBrowserChrome *aParent,
uint32_t aChromeFlags,
uint32_t aContextFlags,
nsIURI *aURI,
nsITabParent *aOpeningTab,
bool *aCancel,
nsIWebBrowserChrome **_retval)