Bug 1073570 - Reset the base CTM after native widget drawing. r=smichaud

This commit is contained in:
Markus Stange 2014-09-30 13:51:54 +02:00
parent 9582f8800c
commit b099146594

View File

@ -2833,6 +2833,11 @@ nsNativeThemeCocoa::DrawWidgetBackground(nsRenderingContext* aContext,
break;
}
if (hidpi) {
// Reset the base CTM.
CGContextSetBaseCTM(cgContext, CGAffineTransformIdentity);
}
nativeDrawing.EndNativeDrawing();
return NS_OK;