зеркало из https://github.com/mozilla/gecko-dev.git
Bug 998741 - Fix XULRunner builds; r=bsmedberg
This commit is contained in:
Родитель
8d264161c9
Коммит
329089dc96
|
@ -1077,7 +1077,7 @@ nsresult AppCallbacks::CreateBrowserWindow(uint32_t aChromeFlags,
|
|||
|
||||
// the interface to return and one addref, which we assume will be
|
||||
// immediately released
|
||||
CallQueryInterface(static_cast<nsIWebBrowserChrome*>(chrome), aNewWindow);
|
||||
*aNewWindow = static_cast<nsIWebBrowserChrome*>(chrome);
|
||||
// now an extra addref; the window owns itself (to be released by
|
||||
// WebBrowserChromeUI::Destroy)
|
||||
NS_ADDREF(*aNewWindow);
|
||||
|
|
Загрузка…
Ссылка в новой задаче