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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user