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

Unified Diff: Source/core/rendering/style/StyleInheritedData.h

Issue 20061003: Move isValid/isCurrentColor from Color to StyleColor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: Source/core/rendering/style/StyleInheritedData.h
diff --git a/Source/core/rendering/style/StyleInheritedData.h b/Source/core/rendering/style/StyleInheritedData.h
index ac7a73f175ed7fb1ff60fac08283d49765bbcbbb..3cb6674de864a7f67c8e9437d7622c7bc4d978d8 100644
--- a/Source/core/rendering/style/StyleInheritedData.h
+++ b/Source/core/rendering/style/StyleInheritedData.h
@@ -25,8 +25,8 @@
#ifndef StyleInheritedData_h
#define StyleInheritedData_h
+#include "core/css/StyleColor.h"
#include "core/platform/Length.h"
-#include "core/platform/graphics/Color.h"
#include "core/platform/graphics/Font.h"
#include <wtf/PassRefPtr.h>
#include <wtf/RefCounted.h>
@@ -54,8 +54,8 @@ public:
Length line_height;
Font font;
- Color color;
- Color visitedLinkColor;
+ StyleColor color;
+ StyleColor visitedLinkColor;
private:
StyleInheritedData();

Powered by Google App Engine
This is Rietveld 408576698