Bug 717302: Make sure to mark transform dirty after resetting to push clip. r=jrmuizel

This commit is contained in:
Bas Schouten 2012-03-15 20:26:10 +00:00
parent 12cc97eaa6
commit 6e7653caf4

View File

@ -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);
}