Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(637)

Unified Diff: Source/core/css/SelectorChecker.cpp

Issue 23851002: Have SelectorQuery constructor take a Document reference in argument (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/SelectorChecker.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
{
}
« no previous file with comments | « Source/core/css/SelectorChecker.h ('k') | Source/core/css/resolver/StyleResolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698