Index: third_party/WebKit/Source/core/css/StyleColor.cpp |
diff --git a/third_party/WebKit/Source/core/css/StyleColor.cpp b/third_party/WebKit/Source/core/css/StyleColor.cpp |
index da8c09a2bd31e76e6056e11391d30ca5c539662f..8954358415020b104658ff6394edc73a0bb3093a 100644 |
--- a/third_party/WebKit/Source/core/css/StyleColor.cpp |
+++ b/third_party/WebKit/Source/core/css/StyleColor.cpp |
@@ -46,4 +46,9 @@ bool StyleColor::isColorKeyword(CSSValueID id) |
|| id == CSSValueMenu; |
} |
+bool StyleColor::isSystemColor(CSSValueID id) |
+{ |
+ return (id >= CSSValueActiveborder && id <= CSSValueWindowtext) || id == CSSValueMenu; |
+} |
+ |
} // namespace blink |