Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
index 42d731c520679077eddd28a2cc41662c8ef1fc8d..491e4fa8e40da14f454c0a0ce4b256c5bfcb3e0a 100644 |
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
@@ -1499,7 +1499,7 @@ StyleColor ComputedStyle::decorationColorIncludingFallback(bool visitedLink) con |
if (textStrokeWidth()) { |
// Prefer stroke color if possible, but not if it's fully transparent. |
StyleColor textStrokeStyleColor = visitedLink ? visitedLinkTextStrokeColor() : textStrokeColor(); |
- if (!textStrokeStyleColor.isCurrentColor() && textStrokeStyleColor.color().alpha()) |
+ if (!textStrokeStyleColor.isCurrentColor() && textStrokeStyleColor.getColor().alpha()) |
return textStrokeStyleColor; |
} |
@@ -1569,7 +1569,7 @@ Color ComputedStyle::colorIncludingFallback(int colorProperty, bool visitedLink) |
} |
if (!result.isCurrentColor()) |
- return result.color(); |
+ return result.getColor(); |
// FIXME: Treating styled borders with initial color differently causes problems |
// See crbug.com/316559, crbug.com/276231 |