diff --git a/gfx/thebes/gfxContext.cpp b/gfx/thebes/gfxContext.cpp index 9e5ac3f109d7..2a4e50579d71 100644 --- a/gfx/thebes/gfxContext.cpp +++ b/gfx/thebes/gfxContext.cpp @@ -53,7 +53,7 @@ public: Matrix transform = state.surfTransform; if (state.patternTransformChanged) { - Matrix mat = mContext->mTransform; + Matrix mat = mContext->GetDTTransform(); mat.Invert(); transform = transform * state.patternTransform * mat;