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

Unified Diff: Source/heap/HeapTest.cpp

Issue 137803004: Update heap/ classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« Source/heap/Handle.h ('K') | « Source/heap/Heap.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/heap/HeapTest.cpp
diff --git a/Source/heap/HeapTest.cpp b/Source/heap/HeapTest.cpp
index 722684f8ab628f2aab7c033251816304119d1333..a9922c199fdb7c3a3baa1ba074a99632bcf1b69a 100644
--- a/Source/heap/HeapTest.cpp
+++ b/Source/heap/HeapTest.cpp
@@ -362,7 +362,7 @@ public:
return new Foo(foo);
}
- virtual void trace(Visitor* visitor)
+ virtual void trace(Visitor* visitor) OVERRIDE
{
if (m_pointsToFoo)
visitor->mark(static_cast<Foo*>(m_bar));
@@ -396,7 +396,7 @@ public:
return new Bars();
}
- virtual void trace(Visitor* visitor)
+ virtual void trace(Visitor* visitor) OVERRIDE
{
for (unsigned i = 0; i < m_width; i++)
visitor->trace(m_bars[i]);
@@ -499,7 +499,7 @@ public:
return new Weak(strong, weak);
}
- virtual void trace(Visitor* visitor)
+ virtual void trace(Visitor* visitor) OVERRIDE
{
visitor->trace(m_strongBar);
visitor->registerWeakMembers(this, zapWeakMembers);
@@ -538,7 +538,7 @@ public:
return new WithWeakMember(strong, weak);
}
- virtual void trace(Visitor* visitor)
+ virtual void trace(Visitor* visitor) OVERRIDE
{
visitor->trace(m_strongBar);
visitor->trace(m_weakBar);
« Source/heap/Handle.h ('K') | « Source/heap/Heap.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698