Index: third_party/WebKit/Source/core/dom/TextLinkColors.cpp |
diff --git a/third_party/WebKit/Source/core/dom/TextLinkColors.cpp b/third_party/WebKit/Source/core/dom/TextLinkColors.cpp |
index dba4f72acec32989c06568b3386ad706277b66c2..d87b6945d71f981a4954a7819ad6f2195b5c5c7d 100644 |
--- a/third_party/WebKit/Source/core/dom/TextLinkColors.cpp |
+++ b/third_party/WebKit/Source/core/dom/TextLinkColors.cpp |
@@ -28,7 +28,7 @@ |
#include "core/dom/TextLinkColors.h" |
#include "core/css/CSSColorValue.h" |
-#include "core/css/CSSPrimitiveValue.h" |
+#include "core/css/CSSIdentifierValue.h" |
#include "core/css/StyleColor.h" |
#include "core/layout/LayoutTheme.h" |
#include "wtf/text/WTFString.h" |
@@ -63,7 +63,7 @@ Color TextLinkColors::colorFromCSSValue(const CSSValue& value, Color currentColo |
if (value.isColorValue()) |
return toCSSColorValue(value).value(); |
- CSSValueID valueID = toCSSPrimitiveValue(value).getValueID(); |
+ CSSValueID valueID = toCSSIdentifierValue(value).getValueID(); |
switch (valueID) { |
case CSSValueInvalid: |
NOTREACHED(); |