Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: third_party/WebKit/Source/core/dom/TextLinkColors.cpp

Issue 2382653006: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Make check-webkit-style happy Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/editing/EditingStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698