mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-05 15:59:45 +00:00
It looks like this should fix the bustage. |surf| is ultimately a nsIDrawingSurface, and that's what Init is looking for (well, that, and nsIWidget, but I doubt it's that ;-) )
This commit is contained in:
parent
a9a01ddbe3
commit
7b23729525
@ -326,7 +326,7 @@ nsresult nsDeviceContextOS2::CreateRenderingContext( nsIRenderingContext *&aCont
|
||||
|
||||
surf->Init( mPrintPS, mWidth, mHeight, 0);
|
||||
|
||||
nsresult rc = pContext->Init( this, (void*)((nsDrawingSurfaceOS2 *) surf));
|
||||
nsresult rc = pContext->Init(this, surf);
|
||||
|
||||
if( NS_OK != rc)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user