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

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

Issue 1376573004: Split out Color from CSSPrimitiveValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_property
Patch Set: Rebase and review feedback Created 5 years, 2 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.h
diff --git a/third_party/WebKit/Source/core/dom/TextLinkColors.h b/third_party/WebKit/Source/core/dom/TextLinkColors.h
index 342ffb01bf5e928172ec4d29a86b7642dbc44ad5..66150381c90261c01a0cbe4d81c49cde2a8dbc7b 100644
--- a/third_party/WebKit/Source/core/dom/TextLinkColors.h
+++ b/third_party/WebKit/Source/core/dom/TextLinkColors.h
@@ -34,7 +34,7 @@
namespace blink {
-class CSSPrimitiveValue;
+class CSSValue;
class TextLinkColors {
DISALLOW_ALLOCATION();
@@ -54,7 +54,7 @@ public:
void resetLinkColor();
void resetVisitedLinkColor();
void resetActiveLinkColor();
- Color colorFromPrimitiveValue(const CSSPrimitiveValue&, Color currentColor, bool forVisitedLink = false) const;
+ Color colorFromCSSValue(const CSSValue&, Color currentColor, bool forVisitedLink = false) const;
private:
Color m_textColor;

Powered by Google App Engine
This is Rietveld 408576698