[iOS] Fix COMPILE_ASSERT by updating struct SameSizeAsStyleRareInheritedData
[WebKit-https.git] / Source / WebCore / rendering / style / StyleRareInheritedData.cpp
index 44eb6c5..28b99b3 100644 (file)
@@ -49,6 +49,9 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
     unsigned unsigneds[1];
     short hyphenationShorts[3];
 
+#if PLATFORM(IOS)
+    Color compositionColor;
+#endif
 #if ENABLE(IOS_TEXT_AUTOSIZING)
     TextSizeAdjustment textSizeAdjust;
 #endif
@@ -58,7 +61,7 @@ struct SameSizeAsStyleRareInheritedData : public RefCounted<SameSizeAsStyleRareI
 #endif
 
 #if ENABLE(TOUCH_EVENTS)
-    Color touchColors;
+    Color tapHighlightColor;
 #endif
 };