зеркало из https://github.com/mozilla/gecko-dev.git
Bug 460349, r+sr=roc
This commit is contained in:
Родитель
7316c49063
Коммит
ce5dbf53bc
|
@ -1231,6 +1231,8 @@ nsNativeThemeCocoa::DrawWidgetBackground(nsIRenderingContext* aContext, nsIFrame
|
|||
nativeWidgetRect.ScaleInverse(gfxFloat(p2a));
|
||||
nativeDirtyRect.ScaleInverse(gfxFloat(p2a));
|
||||
nativeWidgetRect.Round();
|
||||
if (nativeWidgetRect.IsEmpty())
|
||||
return NS_OK; // Don't attempt to draw invisible widgets.
|
||||
|
||||
nsRefPtr<gfxContext> thebesCtx = aContext->ThebesContext();
|
||||
if (!thebesCtx)
|
||||
|
|
Загрузка…
Ссылка в новой задаче