mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
replace call to nsIRenderingContext::RetrieveCurrentNativeGraphicData with nsIRenderingContext::GetNativeGraphicData
This commit is contained in:
parent
bfdd80a04c
commit
82ec4db5bd
@ -137,7 +137,7 @@ nsSVGGDIPlusCanvas::Init(nsIRenderingContext* ctx,
|
||||
|
||||
HDC hdc;
|
||||
// this ctx better be what we think it is...
|
||||
mMozContext->RetrieveCurrentNativeGraphicData((PRUint32 *)(&hdc));
|
||||
hdc = (HDC)(PRUint32 *)mMozContext->GetNativeGraphicData(nsIRenderingContext::NATIVE_WINDOWS_DC);
|
||||
|
||||
mGraphics = new Graphics(hdc);
|
||||
if (!mGraphics) return NS_ERROR_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user