| 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 5c0c81cea4f5132fd33807144caed33d7165ad7d..1e1df3e67f75cad9e3eedace8bc854700287e464 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"
|
| @@ -59,7 +59,7 @@ Color TextLinkColors::colorFromCSSValue(const CSSValue& value,
|
| if (value.isColorValue())
|
| return toCSSColorValue(value).value();
|
|
|
| - CSSValueID valueID = toCSSPrimitiveValue(value).getValueID();
|
| + CSSValueID valueID = toCSSIdentifierValue(value).getValueID();
|
| switch (valueID) {
|
| case CSSValueInvalid:
|
| NOTREACHED();
|
|
|