| Index: sky/engine/core/rendering/RenderObject.cpp
|
| diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
|
| index 133b4452ac179f523e76a5aebdf530f7fa4aa7de..42e20cbb39e12c2e7fd2448a2903f7574311a6c6 100644
|
| --- a/sky/engine/core/rendering/RenderObject.cpp
|
| +++ b/sky/engine/core/rendering/RenderObject.cpp
|
| @@ -2573,7 +2573,7 @@ void RenderObject::getTextDecorations(unsigned decorations, AppliedTextDecoratio
|
| styleToUse = curr->style(firstlineStyle);
|
| currDecs = styleToUse->textDecoration();
|
| currDecs &= decorations;
|
| - resultColor = styleToUse->visitedDependentDecorationColor();
|
| + resultColor = styleToUse->decorationColor();
|
| resultStyle = styleToUse->textDecorationStyle();
|
| // Parameter 'decorations' is cast as an int to enable the bitwise operations below.
|
| if (currDecs) {
|
| @@ -2601,7 +2601,7 @@ void RenderObject::getTextDecorations(unsigned decorations, AppliedTextDecoratio
|
| // If we bailed out, use the element we bailed out at (typically a <font> or <a> element).
|
| if (decorations && curr) {
|
| styleToUse = curr->style(firstlineStyle);
|
| - resultColor = styleToUse->visitedDependentDecorationColor();
|
| + resultColor = styleToUse->decorationColor();
|
| if (decorations & TextDecorationUnderline) {
|
| underline.color = resultColor;
|
| underline.style = resultStyle;
|
|
|