Index: third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
diff --git a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
index 5e738d20ec2931d012b750a30d38bf1222e2c2d0..4c8ec2878b49986a3c0f7c9078c39b2aaec4d811 100644 |
--- a/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
+++ b/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.cpp.tmpl |
@@ -7,7 +7,10 @@ |
namespace blink { |
struct SameSizeAsComputedStyleBase { |
- unsigned m_bitfields[{{expected_total_field_bytes}}]; |
+ {% for field in fields|rejectattr("is_bit_field") %} |
+ {{field.type_name}} {{field.name}}}; |
+ {% endfor %} |
+ unsigned m_bit_fields[{{expected_bit_field_bytes}}]; |
}; |
// If this fails, the packing algorithm in make_computed_style_base.py has |
// failed to produce the optimal packed size. To fix, update the algorithm to |