Index: third_party/WebKit/Source/build/scripts/make_computed_style_base.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py |
index dd1dd2867930463b507693a7df43bfef1ed14867..59771891d77a4e9270ef9ba44f8f11d29b6864c0 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_computed_style_base.py |
+++ b/third_party/WebKit/Source/build/scripts/make_computed_style_base.py |
@@ -24,12 +24,20 @@ from itertools import chain |
# https://codereview.chromium.org/2841413002 |
# TODO(shend): Put alignment sizes into code form, rather than linking to a CL which may disappear. |
ALIGNMENT_ORDER = [ |
+ # Aligns like double |
nainar
2017/06/12 23:20:55
YEAH! \o/
|
'double', |
- 'AtomicString', 'RefPtr', 'Persistent', 'Font', 'FillLayer', 'NinePieceImage', # Aligns like a pointer (can be 32 or 64 bits) |
- 'LengthBox', 'LengthSize', 'Length', 'TextSizeAdjust', 'TabSize', 'float', |
- 'StyleColor', 'Color', 'LayoutUnit', 'unsigned', 'int', |
+ # Aligns like a pointer (can be 32 or 64 bits) |
+ 'AtomicString', 'DataRef', 'RefPtr', 'DataPersistent', 'Persistent', 'std::unique_ptr', |
+ 'Vector<String>', 'Font', 'FillLayer', 'NinePieceImage', |
+ # Aligns like float |
+ 'LengthBox', 'LengthSize', 'FloatSize', 'LengthPoint', 'Length', 'TextSizeAdjust', 'TabSize', 'float', |
+ # Aligns like int |
+ 'StyleColor', 'Color', 'LayoutUnit', 'LineClampValue', 'OutlineValue', 'unsigned', 'int', |
+ # Aligns like short |
'short', |
- 'uint8_t', 'char', |
+ # Aligns like char |
+ 'StyleSelfAlignmentData', 'StyleContentAlignmentData', 'uint8_t', 'char', |
+ # Aligns like bool |
'bool' |
] |