Index: Source/core/css/StyleSheetContents.cpp |
diff --git a/Source/core/css/StyleSheetContents.cpp b/Source/core/css/StyleSheetContents.cpp |
index cc84dc192976f0de2b5c7b68ed05a265a4689911..ef527fcb3dc3f82477c3ff4cd70c8858046eb7c0 100644 |
--- a/Source/core/css/StyleSheetContents.cpp |
+++ b/Source/core/css/StyleSheetContents.cpp |
@@ -618,10 +618,8 @@ 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(); |
- } |
} |
} |