| Index: Source/core/rendering/RenderObject.cpp
|
| diff --git a/Source/core/rendering/RenderObject.cpp b/Source/core/rendering/RenderObject.cpp
|
| index 3c69a674bc9d1dcc29febf6c95dd32687dc4a7c1..c72498602508151046970a492b55937da1db1041 100644
|
| --- a/Source/core/rendering/RenderObject.cpp
|
| +++ b/Source/core/rendering/RenderObject.cpp
|
| @@ -2718,7 +2718,7 @@ void RenderObject::getTextDecorations(unsigned decorations, AppliedTextDecoratio
|
| styleToUse = curr->style(firstlineStyle);
|
| currDecs = styleToUse->textDecoration();
|
| currDecs &= decorations;
|
| - resultColor = styleToUse->visitedDependentDecorationColor();
|
| + resultColor = styleToUse->visitedDependentColor(CSSPropertyTextDecorationColor);
|
| resultStyle = styleToUse->textDecorationStyle();
|
| // Parameter 'decorations' is cast as an int to enable the bitwise operations below.
|
| if (currDecs) {
|
| @@ -2748,7 +2748,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->visitedDependentColor(CSSPropertyTextDecorationColor);
|
| if (decorations & TextDecorationUnderline) {
|
| underline.color = resultColor;
|
| underline.style = resultStyle;
|
|
|