зеркало из https://github.com/mozilla/pjs.git
Bug 449749 nsWindowWatcher.cpp failed to compile with Sun Studio 12 r+sr=roc
This commit is contained in:
Родитель
07e72e7412
Коммит
5f6d6a5a33
|
@ -686,10 +686,10 @@ nsWindowWatcher::OpenWindowJSInternal(nsIDOMWindow *aParent,
|
|||
parentWidget->IsVisible(parentVisible);
|
||||
}
|
||||
PRBool cancel = PR_FALSE;
|
||||
rv = windowCreator2->CreateChromeWindow2(parentVisible ? parentChrome : nsnull, chromeFlags,
|
||||
contextFlags, uriToLoad,
|
||||
&cancel,
|
||||
getter_AddRefs(newChrome));
|
||||
rv = windowCreator2->CreateChromeWindow2(
|
||||
parentVisible ? parentChrome.get() : nsnull,
|
||||
chromeFlags, contextFlags, uriToLoad, &cancel,
|
||||
getter_AddRefs(newChrome));
|
||||
if (NS_SUCCEEDED(rv) && cancel) {
|
||||
newChrome = 0; // just in case
|
||||
rv = NS_ERROR_ABORT;
|
||||
|
|
Загрузка…
Ссылка в новой задаче