зеркало из https://github.com/mozilla/gecko-dev.git
OS/2 bustage - I think our compiler has trouble because an nsCOMPtr to nsIWidget isn't a real nsIWidget pointer
This commit is contained in:
Родитель
012105b216
Коммит
b381682e87
|
@ -179,7 +179,7 @@ NS_IMETHODIMP DeviceContextImpl::CreateRenderingContext(nsIView *aView, nsIRende
|
|||
nsCOMPtr<nsIRenderingContext> pContext;
|
||||
rv = CreateRenderingContextInstance(*getter_AddRefs(pContext));
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
rv = InitRenderingContext(pContext, win);
|
||||
rv = InitRenderingContext(pContext, NS_STATIC_CAST(nsIWidget *, win));
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
aContext = pContext;
|
||||
NS_ADDREF(aContext);
|
||||
|
|
Загрузка…
Ссылка в новой задаче