зеркало из https://github.com/mozilla/gecko-dev.git
Fixing OS/2 bustage -- compiler is too dumb to tell that the void* version is
_not_ what we want here... ;)
This commit is contained in:
Родитель
48eaa50cb5
Коммит
fa96270367
|
@ -1227,7 +1227,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext,
|
|||
|
||||
nsCOMPtr<nsIWidget> parent;
|
||||
parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(parent));
|
||||
mWidget->Create(parent, r, nsnull, nsnull);
|
||||
mWidget->Create(NS_STATIC_CAST(nsIWidget*, parent), r, nsnull, nsnull);
|
||||
|
||||
mWidget->Show(PR_TRUE);
|
||||
return rv;
|
||||
|
|
|
@ -1227,7 +1227,7 @@ nsObjectFrame::InstantiateWidget(nsIPresContext* aPresContext,
|
|||
|
||||
nsCOMPtr<nsIWidget> parent;
|
||||
parentWithView->GetOffsetFromWidget(nsnull, nsnull, *getter_AddRefs(parent));
|
||||
mWidget->Create(parent, r, nsnull, nsnull);
|
||||
mWidget->Create(NS_STATIC_CAST(nsIWidget*, parent), r, nsnull, nsnull);
|
||||
|
||||
mWidget->Show(PR_TRUE);
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче