| Index: Source/core/paint/ViewPainter.cpp
|
| diff --git a/Source/core/paint/ViewPainter.cpp b/Source/core/paint/ViewPainter.cpp
|
| index 02114ae5c92768e5635b4fc3a439b1362d10f9e8..40c13b323b2f6fa4d5fc14ac13c802ac610a2099 100644
|
| --- a/Source/core/paint/ViewPainter.cpp
|
| +++ b/Source/core/paint/ViewPainter.cpp
|
| @@ -75,10 +75,10 @@ void ViewPainter::paintBoxDecorationBackground(const PaintInfo& paintInfo)
|
| if (!m_renderView.frameView()->isTransparent()) {
|
| Color baseColor = m_renderView.frameView()->baseBackgroundColor();
|
| if (baseColor.alpha()) {
|
| - CompositeOperator previousOperator = paintInfo.context->compositeOperation();
|
| - paintInfo.context->setCompositeOperation(CompositeCopy);
|
| + SkXfermode::Mode previousOperation = paintInfo.context->compositeOperation();
|
| + paintInfo.context->setCompositeOperation(SkXfermode::kSrc_Mode);
|
| paintInfo.context->fillRect(paintInfo.rect, baseColor);
|
| - paintInfo.context->setCompositeOperation(previousOperator);
|
| + paintInfo.context->setCompositeOperation(previousOperation);
|
| } else {
|
| paintInfo.context->clearRect(paintInfo.rect);
|
| }
|
|
|