Index: Source/core/dom/StyleSheetCollection.cpp |
diff --git a/Source/core/dom/StyleSheetCollection.cpp b/Source/core/dom/StyleSheetCollection.cpp |
index ff87dd8405e2c58b03f17a1c7cd857d4032a7961..64858cb6d618e547986c9019c3a4e25c7cb656f8 100644 |
--- a/Source/core/dom/StyleSheetCollection.cpp |
+++ b/Source/core/dom/StyleSheetCollection.cpp |
@@ -151,7 +151,7 @@ void StyleSheetCollection::analyzeStyleSheetChange(StyleResolverUpdateMode updat |
StyleInvalidationAnalysis invalidationAnalysis(addedSheets); |
if (invalidationAnalysis.dirtiesAllStyle()) |
return; |
- invalidationAnalysis.invalidateStyle(document()); |
+ invalidationAnalysis.invalidateStyle(*document()); |
requiresFullStyleRecalc = false; |
} |