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

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

Issue 290333008: Oilpan: add [WillBeGarbageCollected] for Element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + remove WebNode FIXME Created 6 years, 7 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/dom/ParentNode.h ('k') | Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/SelectorQuery.h
diff --git a/Source/core/dom/SelectorQuery.h b/Source/core/dom/SelectorQuery.h
index 25da2af2281b2d5a2ac39b925a5f547bddc64e1a..039d9fadfee56a92c1e5aa70c1bbd543a01612e4 100644
--- a/Source/core/dom/SelectorQuery.h
+++ b/Source/core/dom/SelectorQuery.h
@@ -50,7 +50,7 @@ public:
void initialize(const CSSSelectorList&);
bool matches(Element&) const;
PassRefPtrWillBeRawPtr<NodeList> queryAll(ContainerNode& rootNode) const;
- PassRefPtr<Element> queryFirst(ContainerNode& rootNode) const;
+ PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const;
private:
bool canUseFastQuery(const ContainerNode& rootNode) const;
@@ -91,7 +91,7 @@ public:
explicit SelectorQuery(const CSSSelectorList&);
bool matches(Element&) const;
PassRefPtrWillBeRawPtr<NodeList> queryAll(ContainerNode& rootNode) const;
- PassRefPtr<Element> queryFirst(ContainerNode& rootNode) const;
+ PassRefPtrWillBeRawPtr<Element> queryFirst(ContainerNode& rootNode) const;
private:
SelectorDataList m_selectors;
CSSSelectorList m_selectorList;
« no previous file with comments | « Source/core/dom/ParentNode.h ('k') | Source/core/dom/SelectorQuery.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698