| Index: Source/core/css/StyleSheetContents.cpp
|
| diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp
|
| index 1a76ed57daaec4fb6b031d13e42656d7d9f9f7b6..87e41441ca4456280748c2b5d13857e2cccb406b 100644
|
| --- a/Source/core/css/StyleSheetContents.cpp
|
| +++ b/Source/core/css/StyleSheetContents.cpp
|
| @@ -47,7 +47,7 @@ unsigned StyleSheetContents::estimatedSizeInBytes() const
|
| // The assumption is that nearly all of of them are atomic and would exist anyway.
|
| unsigned size = sizeof(*this);
|
|
|
| - // FIXME: This ignores the children of media and region rules.
|
| + // FIXME: This ignores the children of media rules.
|
| // Most rules are StyleRules.
|
| size += ruleCount() * StyleRule::averageSizeInBytes();
|
|
|
| @@ -487,10 +487,6 @@ static bool childRulesHaveFailedOrCanceledSubresources(const Vector<RefPtr<Style
|
| if (childRulesHaveFailedOrCanceledSubresources(toStyleRuleMedia(rule)->childRules()))
|
| return true;
|
| break;
|
| - case StyleRuleBase::Region:
|
| - if (childRulesHaveFailedOrCanceledSubresources(toStyleRuleRegion(rule)->childRules()))
|
| - return true;
|
| - break;
|
| case StyleRuleBase::Import:
|
| ASSERT_NOT_REACHED();
|
| case StyleRuleBase::Page:
|
|
|