Index: Source/core/css/SelectorChecker.cpp |
diff --git a/Source/core/css/SelectorChecker.cpp b/Source/core/css/SelectorChecker.cpp |
index 5c96f10b6bec7102b4c377c6c0a8df8758810c84..4484a88444a74630b5b640067806c23ec525d7ea 100644 |
--- a/Source/core/css/SelectorChecker.cpp |
+++ b/Source/core/css/SelectorChecker.cpp |
@@ -63,9 +63,9 @@ namespace WebCore { |
using namespace HTMLNames; |
-SelectorChecker::SelectorChecker(Document* document, Mode mode) |
- : m_strictParsing(!document->inQuirksMode()) |
- , m_documentIsHTML(document->isHTMLDocument()) |
+SelectorChecker::SelectorChecker(Document& document, Mode mode) |
+ : m_strictParsing(!document.inQuirksMode()) |
+ , m_documentIsHTML(document.isHTMLDocument()) |
, m_mode(mode) |
{ |
} |