| Index: third_party/WebKit/Source/core/css/RuleFeature.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/RuleFeature.cpp b/third_party/WebKit/Source/core/css/RuleFeature.cpp
|
| index 6182d564fb1f3638708d9bd85f7f0a1a42a708b3..a9e3b6a2b3e7359f49baf14755563356930353b5 100644
|
| --- a/third_party/WebKit/Source/core/css/RuleFeature.cpp
|
| +++ b/third_party/WebKit/Source/core/css/RuleFeature.cpp
|
| @@ -487,13 +487,13 @@ void RuleFeatureSet::addFeaturesToInvalidationSets(const CSSSelector* selector,
|
| }
|
|
|
| if (siblingFeatures) {
|
| - if (siblingFeatures->maxDirectAdjacentSelectors == std::numeric_limits<unsigned>::max())
|
| + if (siblingFeatures->maxDirectAdjacentSelectors == UINT_MAX)
|
| continue;
|
|
|
| if (current->relation() == CSSSelector::DirectAdjacent)
|
| siblingFeatures->maxDirectAdjacentSelectors++;
|
| else
|
| - siblingFeatures->maxDirectAdjacentSelectors = std::numeric_limits<unsigned>::max();
|
| + siblingFeatures->maxDirectAdjacentSelectors = UINT_MAX;
|
| continue;
|
| }
|
|
|
|
|