Index: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp |
diff --git a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp |
index 5755a3c6a58da258978f7c5655cbc315613193a5..391a9a902cb778fd31bff09d8820f3cf57d4cb28 100644 |
--- a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp |
+++ b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.cpp |
@@ -26,6 +26,8 @@ StyleColor ColorPropertyFunctions::getUnvisitedColor( |
return style.borderTopColor(); |
case CSSPropertyBorderBottomColor: |
return style.borderBottomColor(); |
+ case CSSPropertyCaretColor: |
+ return style.caretColor(); |
case CSSPropertyColor: |
return style.color(); |
case CSSPropertyOutlineColor: |
@@ -67,6 +69,8 @@ StyleColor ColorPropertyFunctions::getVisitedColor(CSSPropertyID property, |
return style.visitedLinkBorderTopColor(); |
case CSSPropertyBorderBottomColor: |
return style.visitedLinkBorderBottomColor(); |
+ case CSSPropertyCaretColor: |
+ return style.visitedLinkCaretColor(); |
case CSSPropertyColor: |
return style.visitedLinkColor(); |
case CSSPropertyOutlineColor: |
@@ -114,6 +118,9 @@ void ColorPropertyFunctions::setUnvisitedColor(CSSPropertyID property, |
case CSSPropertyBorderTopColor: |
style.setBorderTopColor(color); |
return; |
+ case CSSPropertyCaretColor: |
+ style.setCaretColor(color); |
+ return; |
case CSSPropertyColor: |
style.setColor(color); |
return; |
@@ -163,6 +170,9 @@ void ColorPropertyFunctions::setVisitedColor(CSSPropertyID property, |
case CSSPropertyBorderTopColor: |
style.setVisitedLinkBorderTopColor(color); |
return; |
+ case CSSPropertyCaretColor: |
+ style.setVisitedLinkCaretColor(color); |
+ return; |
case CSSPropertyColor: |
style.setVisitedLinkColor(color); |
return; |