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

Unified Diff: Source/core/fetch/MemoryCacheTest.cpp

Issue 1229743005: Fix virtual/override/final usage in Source/core/{fetch,loader,streams,xmlhttprequest}/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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/core/fetch/MemoryCache.h ('k') | Source/core/fetch/MockImageResourceClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/MemoryCacheTest.cpp
diff --git a/Source/core/fetch/MemoryCacheTest.cpp b/Source/core/fetch/MemoryCacheTest.cpp
index 83b2cddfb37827ea3f124b4ed2a1343bdc23ce30..ee70c629e885f22e0c30e6ceba80a54f77ab54d4 100644
--- a/Source/core/fetch/MemoryCacheTest.cpp
+++ b/Source/core/fetch/MemoryCacheTest.cpp
@@ -59,7 +59,7 @@ public:
}
protected:
- virtual void destroyDecodedDataIfPossible() override
+ void destroyDecodedDataIfPossible() override
{
setDecodedSize(0);
}
@@ -212,7 +212,7 @@ static void TestLiveResourceEvictionAtEndOfTask(Resource* cachedDeadResource, co
, m_dead(dead)
{ }
- virtual void run() override
+ void run() override
{
// The resource size has to be nonzero for this test to be meaningful, but
// we do not rely on it having any particular value.
@@ -245,7 +245,7 @@ static void TestLiveResourceEvictionAtEndOfTask(Resource* cachedDeadResource, co
Task2(unsigned liveSizeWithoutDecode)
: m_liveSizeWithoutDecode(liveSizeWithoutDecode) { }
- virtual void run() override
+ void run() override
{
// Next task: now, the live resource was evicted.
ASSERT_EQ(0u, memoryCache()->deadSize());
« no previous file with comments | « Source/core/fetch/MemoryCache.h ('k') | Source/core/fetch/MockImageResourceClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698