Index: third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp |
diff --git a/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp b/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp |
index a4a649f042a9e99f5acf953cb08952bab5433567..698fe17b32f1d9e96bc1917ca9d38c27824f4abd 100644 |
--- a/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp |
+++ b/third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp |
@@ -41,7 +41,7 @@ namespace blink { |
class MemoryCacheTest : public ::testing::Test { |
public: |
- class FakeDecodedResource : public Resource { |
+ class FakeDecodedResource final : public Resource { |
public: |
static FakeDecodedResource* create(const ResourceRequest& request, Type type) |
{ |
@@ -54,7 +54,7 @@ public: |
setDecodedSize(this->size()); |
} |
- protected: |
+ private: |
FakeDecodedResource(const ResourceRequest& request, Type type, const ResourceLoaderOptions& options) |
: Resource(request, type, options) |
{ |
@@ -66,7 +66,7 @@ public: |
} |
}; |
- class FakeResource : public Resource { |
+ class FakeResource final : public Resource { |
public: |
static FakeResource* create(const ResourceRequest& request, Type type) |
{ |