Index: Source/core/rendering/TextPainter.cpp |
diff --git a/Source/core/rendering/TextPainter.cpp b/Source/core/rendering/TextPainter.cpp |
index b2c2ac7e0ca425744c5d47d9de0a6ace55d90947..81ace111bc1bcef721db863da000eb68c96b76df 100644 |
--- a/Source/core/rendering/TextPainter.cpp |
+++ b/Source/core/rendering/TextPainter.cpp |
@@ -96,6 +96,7 @@ void TextPainter::updateGraphicsContext(GraphicsContext* context, const Style& t |
if (textStyle.shadow && !context->printing()) { |
if (!stateSaver.saved()) |
stateSaver.save(); |
+ context->clearShadow(); |
Stephen White
2014/10/23 19:08:48
Same here.
sugoi1
2014/10/23 20:25:14
Done.
|
context->setDrawLooper(textStyle.shadow->createDrawLooper(DrawLooperBuilder::ShadowIgnoresAlpha, horizontal)); |
} |
} |