Bug 993784 - Part 3: Use Moz2D SourceSurfaces for masking with BasicLayers. r=roc

This commit is contained in:
Matt Woodrow 2014-04-09 21:15:19 +12:00
parent 6586d24779
commit 0d1657de44

View File

@ -87,7 +87,7 @@ GetMaskData(Layer* aMaskLayer, AutoMoz2DMaskData* aMaskData)
void
PaintWithMask(gfxContext* aContext, float aOpacity, Layer* aMaskLayer)
{
AutoMaskData mask;
AutoMoz2DMaskData mask;
if (GetMaskData(aMaskLayer, &mask)) {
if (aOpacity < 1.0) {
aContext->PushGroup(gfxContentType::COLOR_ALPHA);