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

Unified Diff: Source/core/html/parser/HTMLFormattingElementList.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/parser/HTMLElementStack.cpp ('k') | Source/core/html/parser/HTMLResourcePreloader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLFormattingElementList.h
diff --git a/Source/core/html/parser/HTMLFormattingElementList.h b/Source/core/html/parser/HTMLFormattingElementList.h
index ff3ad687fcb8e94e2a112b1e55534d35d95c5ea3..1c93594234cd6859d1022db60463549606723536 100644
--- a/Source/core/html/parser/HTMLFormattingElementList.h
+++ b/Source/core/html/parser/HTMLFormattingElementList.h
@@ -77,7 +77,7 @@ public:
bool operator==(Element* element) const { return !m_item ? !element : m_item->element() == element; }
bool operator!=(Element* element) const { return !m_item ? !!element : m_item->element() != element; }
- void trace(Visitor* visitor) { visitor->trace(m_item); }
+ DEFINE_INLINE_TRACE() { visitor->trace(m_item); }
private:
RefPtrWillBeMember<HTMLStackItem> m_item;
@@ -125,7 +125,7 @@ public:
const Entry& at(size_t i) const { return m_entries[i]; }
Entry& at(size_t i) { return m_entries[i]; }
- void trace(Visitor* visitor) { visitor->trace(m_entries); }
+ DEFINE_INLINE_TRACE() { visitor->trace(m_entries); }
#ifndef NDEBUG
void show();
« no previous file with comments | « Source/core/html/parser/HTMLElementStack.cpp ('k') | Source/core/html/parser/HTMLResourcePreloader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698