Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index 8f4133988b4b85efbf1714e1c8bf8915c6672f04..6cf8d9a808f6b5de43d37dad951d2527bd40238c 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -245,9 +245,9 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
} |
if (doesNotInheritTextDecoration(style, e)) |
- style->setTextDecorationsInEffect(style->textDecoration()); |
- else |
- style->addToTextDecorationsInEffect(style->textDecoration()); |
+ style->clearAppliedTextDecorations(); |
+ |
+ style->applyTextDecorations(); |
if (style->overflowX() != OVISIBLE || style->overflowY() != OVISIBLE) |
adjustOverflow(style); |