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

Unified Diff: Source/core/dom/Document.h

Issue 33013004: Have Document::mediaQueryMatcher() / Document::selectorQueryCache() return references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index fd88c4f642d7410731cac0ab41446ddc975f0aae..a6545c0e185c53c96f6b0ab9c7d60c0dd3a9d981 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -224,7 +224,7 @@ public:
}
virtual ~Document();
- MediaQueryMatcher* mediaQueryMatcher();
+ MediaQueryMatcher& mediaQueryMatcher();
using ContainerNode::ref;
using ContainerNode::deref;
@@ -233,7 +233,7 @@ public:
virtual bool canContainRangeEndPoint() const { return true; }
- SelectorQueryCache* selectorQueryCache();
+ SelectorQueryCache& selectorQueryCache();
// DOM methods & attributes for Document
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698