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

Unified Diff: Source/core/html/HTMLContentElement.h

Issue 277213004: Oilpan: add transition types to shadow DOM supporting objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use Member<const Node> 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/events/EventPath.cpp ('k') | Source/core/html/HTMLContentElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLContentElement.h
diff --git a/Source/core/html/HTMLContentElement.h b/Source/core/html/HTMLContentElement.h
index f1c0fe436365748c865dfd5258dc0938575931c6..8bf924020a475a819ce9ea8065e1c0d985da1829 100644
--- a/Source/core/html/HTMLContentElement.h
+++ b/Source/core/html/HTMLContentElement.h
@@ -44,7 +44,7 @@ public:
virtual bool canAffectSelector() const OVERRIDE { return true; }
- bool canSelectNode(const Vector<Node*, 32>& siblings, int nth) const;
+ bool canSelectNode(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const;
const CSSSelectorList& selectorList() const;
bool isSelectValid() const;
@@ -57,7 +57,7 @@ private:
bool validateSelect() const;
void parseSelect();
- bool matchSelector(const Vector<Node*, 32>& siblings, int nth) const;
+ bool matchSelector(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const;
bool m_shouldParseSelect;
bool m_isValidSelector;
@@ -79,7 +79,7 @@ inline bool HTMLContentElement::isSelectValid() const
return m_isValidSelector;
}
-inline bool HTMLContentElement::canSelectNode(const Vector<Node*, 32>& siblings, int nth) const
+inline bool HTMLContentElement::canSelectNode(const WillBeHeapVector<RawPtrWillBeMember<Node>, 32>& siblings, int nth) const
{
if (m_select.isNull() || m_select.isEmpty())
return true;
« no previous file with comments | « Source/core/events/EventPath.cpp ('k') | Source/core/html/HTMLContentElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698