Index: Source/core/css/resolver/StyleResolver.cpp |
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp |
index da93d08289748958037b0fb46e0f0b186dcdd144..6a3b2ac47f325aae8c9a7622a86f31013bde7b99 100644 |
--- a/Source/core/css/resolver/StyleResolver.cpp |
+++ b/Source/core/css/resolver/StyleResolver.cpp |
@@ -602,7 +602,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForElement(Element* element, const |
if (!baseComputedStyle) { |
bool needsCollection = false; |
- CSSDefaultStyleSheets::instance().ensureDefaultStyleSheetsForElement(element, needsCollection); |
+ CSSDefaultStyleSheets::instance().ensureDefaultStyleSheetsForElement(*element, needsCollection); |
if (needsCollection) |
collectFeatures(); |