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

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

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work 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 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();
« 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