From 6e7653caf40f9fd2af6b39b964a1b886cd2664be Mon Sep 17 00:00:00 2001 From: Bas Schouten Date: Thu, 15 Mar 2012 20:26:10 +0000 Subject: [PATCH] Bug 717302: Make sure to mark transform dirty after resetting to push clip. r=jrmuizel --- gfx/2d/DrawTargetD2D.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/2d/DrawTargetD2D.cpp b/gfx/2d/DrawTargetD2D.cpp index f3cb54db98d..4af470ac2a9 100644 --- a/gfx/2d/DrawTargetD2D.cpp +++ b/gfx/2d/DrawTargetD2D.cpp @@ -1024,6 +1024,7 @@ DrawTargetD2D::PushClipRect(const Rect &aRect) mPushedClips.push_back(clip); mRT->SetTransform(D2D1::IdentityMatrix()); + mTransformDirty = true; if (mClipsArePushed) { mRT->PushAxisAlignedClip(clip.mBounds, D2D1_ANTIALIAS_MODE_PER_PRIMITIVE); }