From db2e7789106c8466ebfc438b80f145eb6f123eb9 Mon Sep 17 00:00:00 2001 From: Matt Woodrow Date: Thu, 7 Nov 2013 22:08:56 +1300 Subject: [PATCH] Bug 934674 - Store the correct transform (with device offset applied) for the pattern. r=Bas --- gfx/thebes/gfxContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/thebes/gfxContext.cpp b/gfx/thebes/gfxContext.cpp index 25f0b2eebd3..8cb8a43be06 100644 --- a/gfx/thebes/gfxContext.cpp +++ b/gfx/thebes/gfxContext.cpp @@ -2153,7 +2153,7 @@ gfxContext::ChangeTransform(const Matrix &aNewMatrix, bool aUpdatePatternTransfo if (aUpdatePatternTransform && (state.pattern || state.sourceSurface) && !state.patternTransformChanged) { - state.patternTransform = mTransform; + state.patternTransform = GetDTTransform(); state.patternTransformChanged = true; }