| Index: Source/core/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.cpp b/Source/core/platform/graphics/GraphicsContext.cpp
|
| index 7454a1fdf5ec597502036e6542f071810468484a..0149b71c1d78aed450a516facc5130d741ee7865 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/core/platform/graphics/GraphicsContext.cpp
|
| @@ -1713,6 +1713,8 @@ void GraphicsContext::setupPaintCommon(SkPaint* paint) const
|
|
|
| if (!SkXfermode::IsMode(m_state->m_xferMode.get(), SkXfermode::kSrcOver_Mode))
|
| paint->setXfermode(m_state->m_xferMode.get());
|
| + if (this->drawLuminanceMask())
|
| + paint->setXfermode(SkLumaMaskXfermode::Create(SkXfermode::kSrcOver_Mode));
|
|
|
| if (m_state->m_looper)
|
| paint->setLooper(m_state->m_looper.get());
|
|
|