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

Unified Diff: Source/core/rendering/style/StyleRareInheritedData.cpp

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/StyleRareInheritedData.cpp
diff --git a/Source/core/rendering/style/StyleRareInheritedData.cpp b/Source/core/rendering/style/StyleRareInheritedData.cpp
index 4154ddbf5a19ad7443e0dd41dc5823ef340c6ac1..ea3728ea2a9c10b1c603b4a2692c5db4e4dce2b6 100644
--- a/Source/core/rendering/style/StyleRareInheritedData.cpp
+++ b/Source/core/rendering/style/StyleRareInheritedData.cpp
@@ -33,9 +33,9 @@ namespace WebCore {
struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareInheritedData> {
void* styleImage;
- Color firstColor;
+ StyleColor firstColor;
float firstFloat;
- Color colors[5];
+ StyleColor colors[5];
void* ownPtrs[1];
AtomicString atomicStrings[5];
void* refPtrs[2];
@@ -46,7 +46,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
unsigned unsigneds[1];
short hyphenationShorts[3];
- Color touchColors;
+ StyleColor touchColors;
void* variableDataRefs[1];
};

Powered by Google App Engine
This is Rietveld 408576698