зеркало из https://github.com/mozilla/pjs.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:
Родитель
259a56c337
Коммит
828b5adb48
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче