| Index: third_party/WebKit/Source/core/style/ComputedStyle.h
|
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| index 2492fa297e652d28905631df3c1f2a6928776c97..4df9164982d972065a91bd033e43350ea1e6401a 100644
|
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
|
| @@ -981,7 +981,8 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
|
| }
|
| void setBoxOrdinalGroup(unsigned og) {
|
| SET_NESTED_VAR(m_rareNonInheritedData, m_deprecatedFlexibleBox,
|
| - ordinalGroup, og);
|
| + ordinalGroup,
|
| + std::min(std::numeric_limits<unsigned>::max() - 1, og));
|
| }
|
|
|
| // -webkit-box-orient
|
|
|