mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 10:25:01 +00:00
OS/2 bustage
This commit is contained in:
parent
d40c083d1e
commit
e64a838884
@ -3896,7 +3896,7 @@ PresShell::CreateRenderingContext(nsIFrame *aFrame,
|
||||
rv = mPresContext->GetDeviceContext(getter_AddRefs(dx));
|
||||
if (NS_SUCCEEDED(rv) && dx) {
|
||||
if (nsnull != widget) {
|
||||
rv = dx->CreateRenderingContext(widget, result);
|
||||
rv = dx->CreateRenderingContext(NS_STATIC_CAST(nsIWidget *, widget), result);
|
||||
}
|
||||
else {
|
||||
rv = dx->CreateRenderingContext(result);
|
||||
|
@ -3896,7 +3896,7 @@ PresShell::CreateRenderingContext(nsIFrame *aFrame,
|
||||
rv = mPresContext->GetDeviceContext(getter_AddRefs(dx));
|
||||
if (NS_SUCCEEDED(rv) && dx) {
|
||||
if (nsnull != widget) {
|
||||
rv = dx->CreateRenderingContext(widget, result);
|
||||
rv = dx->CreateRenderingContext(NS_STATIC_CAST(nsIWidget *, widget), result);
|
||||
}
|
||||
else {
|
||||
rv = dx->CreateRenderingContext(result);
|
||||
|
Loading…
Reference in New Issue
Block a user