Index: base/memory/ref_counted_memory.h |
diff --git a/base/memory/ref_counted_memory.h b/base/memory/ref_counted_memory.h |
index a238c3a30fea1bab416b71203b9f1765820e54f0..f7acc65d1f9662a004a73c90e6dad81dbf887d60 100644 |
--- a/base/memory/ref_counted_memory.h |
+++ b/base/memory/ref_counted_memory.h |
@@ -52,8 +52,8 @@ class BASE_EXPORT RefCountedStaticMemory : public RefCountedMemory { |
length_(length) {} |
// Overridden from RefCountedMemory: |
- virtual const unsigned char* front() const OVERRIDE; |
- virtual size_t size() const OVERRIDE; |
+ virtual const unsigned char* front() const override; |
+ virtual size_t size() const override; |
private: |
virtual ~RefCountedStaticMemory(); |
@@ -81,8 +81,8 @@ class BASE_EXPORT RefCountedBytes : public RefCountedMemory { |
static RefCountedBytes* TakeVector(std::vector<unsigned char>* to_destroy); |
// Overridden from RefCountedMemory: |
- virtual const unsigned char* front() const OVERRIDE; |
- virtual size_t size() const OVERRIDE; |
+ virtual const unsigned char* front() const override; |
+ virtual size_t size() const override; |
const std::vector<unsigned char>& data() const { return data_; } |
std::vector<unsigned char>& data() { return data_; } |
@@ -107,8 +107,8 @@ class BASE_EXPORT RefCountedString : public RefCountedMemory { |
static RefCountedString* TakeString(std::string* to_destroy); |
// Overridden from RefCountedMemory: |
- virtual const unsigned char* front() const OVERRIDE; |
- virtual size_t size() const OVERRIDE; |
+ virtual const unsigned char* front() const override; |
+ virtual size_t size() const override; |
const std::string& data() const { return data_; } |
std::string& data() { return data_; } |
@@ -129,8 +129,8 @@ class BASE_EXPORT RefCountedMallocedMemory : public base::RefCountedMemory { |
RefCountedMallocedMemory(void* data, size_t length); |
// Overridden from RefCountedMemory: |
- virtual const unsigned char* front() const OVERRIDE; |
- virtual size_t size() const OVERRIDE; |
+ virtual const unsigned char* front() const override; |
+ virtual size_t size() const override; |
private: |
virtual ~RefCountedMallocedMemory(); |