mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 382756: ASSERTION: When exactly is this supposed to be non-zero?. r+sr=roc.
This commit is contained in:
parent
271e5c520d
commit
a3ab1ea4f7
@ -483,9 +483,8 @@ void nsViewManager::Refresh(nsView *aView, nsIRenderingContext *aContext,
|
|||||||
ctx->Translate(gfxPoint(gfxFloat(vtowoffset.x) / p2a,
|
ctx->Translate(gfxPoint(gfxFloat(vtowoffset.x) / p2a,
|
||||||
gfxFloat(vtowoffset.y) / p2a));
|
gfxFloat(vtowoffset.y) / p2a));
|
||||||
|
|
||||||
NS_ASSERTION(!viewRect.x && !viewRect.y, "When exactly is this supposed to be non-zero?");
|
ctx->Translate(gfxPoint(-gfxFloat(viewRect.x) / p2a,
|
||||||
ctx->Translate(gfxPoint(gfxFloat(viewRect.x) / p2a,
|
-gfxFloat(viewRect.y) / p2a));
|
||||||
gfxFloat(viewRect.y) / p2a));
|
|
||||||
|
|
||||||
nsRegion opaqueRegion;
|
nsRegion opaqueRegion;
|
||||||
AddCoveringWidgetsToOpaqueRegion(opaqueRegion, mContext, aView);
|
AddCoveringWidgetsToOpaqueRegion(opaqueRegion, mContext, aView);
|
||||||
|
Loading…
Reference in New Issue
Block a user