Chromium Code Reviews| Index: Source/core/css/StyleSheetContents.cpp |
| diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
| index ef527fcb3dc3f82477c3ff4cd70c8858046eb7c0..cc84dc192976f0de2b5c7b68ed05a265a4689911 100644 |
| --- a/Source/core/css/StyleSheetContents.cpp |
| +++ b/Source/core/css/StyleSheetContents.cpp |
| @@ -618,8 +618,10 @@ RuleSet& StyleSheetContents::ensureRuleSet(const MediaQueryEvaluator& medium, Ad |
| static void clearResolvers(WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >& clients) |
| { |
| for (WillBeHeapHashSet<RawPtrWillBeWeakMember<CSSStyleSheet> >::iterator it = clients.begin(); it != clients.end(); ++it) { |
| - if (Document* document = (*it)->ownerDocument()) |
| + if (Document* document = (*it)->ownerDocument()) { |
| document->styleEngine()->clearResolver(); |
| + document->clearScopedStyleResolver(); |
|
kochi
2014/07/24 12:46:40
Probably eventually we should clear the ScopedStyl
|
| + } |
| } |
| } |