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

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

Issue 932403002: InlinedVisitor: Migrate html to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/html/HTMLCanvasElement.cpp ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLCollection.h
diff --git a/Source/core/html/HTMLCollection.h b/Source/core/html/HTMLCollection.h
index f87b6a85f56b9cc94417ec81aab1a2dd296bf9bb..e952307c34a310bd7f904f2366623d5e4b6e5cfa 100644
--- a/Source/core/html/HTMLCollection.h
+++ b/Source/core/html/HTMLCollection.h
@@ -65,7 +65,7 @@ public:
Element* traverseForwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset) const;
Element* traverseBackwardToOffset(unsigned offset, Element& currentElement, unsigned& currentOffset) const;
- virtual void trace(Visitor*);
+ DECLARE_VIRTUAL_TRACE();
protected:
HTMLCollection(ContainerNode& base, CollectionType, ItemAfterOverrideType);
@@ -82,7 +82,7 @@ protected:
void addElementWithId(const AtomicString& id, Element* element) { addElementToMap(m_idCache, id, element); }
void addElementWithName(const AtomicString& name, Element* element) { addElementToMap(m_nameCache, name, element); }
- void trace(Visitor* visitor)
+ DEFINE_INLINE_TRACE()
{
#if ENABLE(OILPAN)
visitor->trace(m_idCache);
« no previous file with comments | « Source/core/html/HTMLCanvasElement.cpp ('k') | Source/core/html/HTMLCollection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698