Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas

This commit is contained in:
Jonathan Watt
2014-09-10 18:29:35 +01:00
parent 454760d249
commit 727b0a4e88
26 changed files with 75 additions and 83 deletions

View File

@@ -31,7 +31,7 @@ GetMaskData(Layer* aMaskLayer,
Matrix4x4 effectiveTransform = aMaskLayer->GetEffectiveTransform();
DebugOnly<bool> maskIs2D = effectiveTransform.CanDraw2D(&transform);
NS_ASSERTION(maskIs2D, "How did we end up with a 3D transform here?!");
transform.Translate(-aDeviceOffset.x, -aDeviceOffset.y);
transform.PreTranslate(-aDeviceOffset.x, -aDeviceOffset.y);
aMaskData->Construct(transform, surface);
return true;
}