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

Unified Diff: third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h

Issue 2537373005: [css-ui] Make caret-color animatable (Closed)
Patch Set: Come back to previous version but keep DCHECK in toStyleColor() Created 4 years 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/animation/ColorPropertyFunctions.h
diff --git a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
index 7fe546a21b1a9adaae86d11859b8eaaca87693cb..47fe8c79bf19301951cecf5a1d4496c732713f5e 100644
--- a/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
+++ b/third_party/WebKit/Source/core/animation/ColorPropertyFunctions.h
@@ -14,7 +14,7 @@ class ComputedStyle;
class ColorPropertyFunctions {
public:
- static StyleColor getInitialColor(CSSPropertyID);
+ static bool getInitialColor(CSSPropertyID, StyleColor& initialColor);
static StyleColor getUnvisitedColor(CSSPropertyID, const ComputedStyle&);
static StyleColor getVisitedColor(CSSPropertyID, const ComputedStyle&);
static void setUnvisitedColor(CSSPropertyID, ComputedStyle&, const Color&);

Powered by Google App Engine
This is Rietveld 408576698