Index: Source/core/fetch/MemoryCache.h |
diff --git a/Source/core/fetch/MemoryCache.h b/Source/core/fetch/MemoryCache.h |
index 4e6ce6c5c0713c0f567535764bdb3ace60467f95..f75a4e0f5dd13b4167aab2097ae91dcc2cc72859 100644 |
--- a/Source/core/fetch/MemoryCache.h |
+++ b/Source/core/fetch/MemoryCache.h |
@@ -72,7 +72,7 @@ enum UpdateReason { |
// MemoryCacheEntry class is used only in MemoryCache class, but we don't make |
// MemoryCacheEntry class an inner class of MemoryCache because of dependency |
// from MemoryCacheLRUList. |
-class MemoryCacheEntry FINAL : public NoBaseWillBeGarbageCollectedFinalized<MemoryCacheEntry> { |
+class MemoryCacheEntry final : public NoBaseWillBeGarbageCollectedFinalized<MemoryCacheEntry> { |
public: |
static PassOwnPtrWillBeRawPtr<MemoryCacheEntry> create(Resource* resource) { return adoptPtrWillBeNoop(new MemoryCacheEntry(resource)); } |
void trace(Visitor*); |
@@ -106,7 +106,7 @@ private: |
// MemoryCacheLRUList is used only in MemoryCache class, but we don't make |
// MemoryCacheLRUList an inner struct of MemoryCache because we can't define |
// VectorTraits for inner structs. |
-struct MemoryCacheLRUList FINAL { |
+struct MemoryCacheLRUList final { |
ALLOW_ONLY_INLINE_ALLOCATION(); |
public: |
RawPtrWillBeMember<MemoryCacheEntry> m_head; |
@@ -122,7 +122,7 @@ WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::MemoryCacheLRUList); |
namespace blink { |
-class MemoryCache FINAL : public NoBaseWillBeGarbageCollectedFinalized<MemoryCache>, public WebThread::TaskObserver { |
+class MemoryCache final : public NoBaseWillBeGarbageCollectedFinalized<MemoryCache>, public WebThread::TaskObserver { |
WTF_MAKE_NONCOPYABLE(MemoryCache); WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
public: |
static PassOwnPtrWillBeRawPtr<MemoryCache> create(); |
@@ -212,8 +212,8 @@ public: |
MemoryCacheLiveResourcePriority priority(Resource*) const; |
// TaskObserver implementation |
- virtual void willProcessTask() OVERRIDE; |
- virtual void didProcessTask() OVERRIDE; |
+ virtual void willProcessTask() override; |
+ virtual void didProcessTask() override; |
private: |
MemoryCache(); |