Index: Source/core/css/SelectorChecker.h |
diff --git a/Source/core/css/SelectorChecker.h b/Source/core/css/SelectorChecker.h |
index 50c77274134a5a112e737997283e64ab23b3cabf..aba4e034d662c366e3398e1c448938830b7f170f 100644 |
--- a/Source/core/css/SelectorChecker.h |
+++ b/Source/core/css/SelectorChecker.h |
@@ -44,7 +44,7 @@ public: |
enum Match { SelectorMatches, SelectorFailsLocally, SelectorFailsAllSiblings, SelectorFailsCompletely }; |
enum VisitedMatchType { VisitedMatchDisabled, VisitedMatchEnabled }; |
enum Mode { ResolvingStyle = 0, CollectingRules, QueryingRules, SharingRules }; |
- explicit SelectorChecker(Document*, Mode); |
+ explicit SelectorChecker(Document&, Mode); |
enum BehaviorAtBoundary { |
DoesNotCrossBoundary = 0, |
CrossesBoundary = 1, |