| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| index a437ead777715c2b063ca8178b92b7ad4781f464..118105e643fee1ea6d1d1df6417a1c9e4acfa5ca 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
|
| @@ -81,6 +81,11 @@ struct SameSizeAsComputedStyle : public RefCounted<SameSizeAsComputedStyle> {
|
| void* data_ref_svg_style;
|
| };
|
|
|
| +// 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
|
| +// ensure that the buckets are placed so that each takes up at most 1 word.
|
| +ASSERT_SIZE(ComputedStyleBase<ComputedStyle>, SameSizeAsComputedStyleBase);
|
| +
|
| // If this assert fails, it means that size of ComputedStyle has changed. Please
|
| // check that you really *do* what to increase the size of ComputedStyle, then
|
| // update the SameSizeAsComputedStyle struct to match the updated storage of
|
|
|