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

Unified Diff: Source/platform/heap/GarbageCollected.h

Issue 1213003004: Fix virtual/override/final usage in Source/platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/platform/graphics/test/MockImageDecoder.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/GarbageCollected.h
diff --git a/Source/platform/heap/GarbageCollected.h b/Source/platform/heap/GarbageCollected.h
index 5fe5388fcf849b7c7aebaa4f4aaa1e4800a0b04c..3a3da553cc651d36df6d9c67c2539e4ef19368d6 100644
--- a/Source/platform/heap/GarbageCollected.h
+++ b/Source/platform/heap/GarbageCollected.h
@@ -120,7 +120,7 @@ public:
#define DEFINE_GARBAGE_COLLECTED_MIXIN_METHODS(VISITOR, TYPE) \
public: \
- virtual void adjustAndMark(VISITOR visitor) const override \
+ void adjustAndMark(VISITOR visitor) const override \
{ \
typedef WTF::IsSubclassOfTemplate<typename WTF::RemoveConst<TYPE>::Type, blink::GarbageCollected> IsSubclassOfGarbageCollected; \
static_assert(IsSubclassOfGarbageCollected::value, "only garbage collected objects can have garbage collected mixins"); \
@@ -189,7 +189,7 @@ public:
DEFINE_GARBAGE_COLLECTED_MIXIN_METHODS(blink::InlinedGlobalMarkingVisitor, TYPE) \
DEFINE_GARBAGE_COLLECTED_MIXIN_CONSTRUCTOR_MARKER(TYPE) \
public: \
- virtual bool isHeapObjectAlive() const override \
+ bool isHeapObjectAlive() const override \
{ \
return Heap::isHeapObjectAlive(this); \
} \
« no previous file with comments | « Source/platform/graphics/test/MockImageDecoder.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698