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

Unified Diff: Source/platform/TestingPlatformSupport.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/Task.h ('k') | Source/platform/Timer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/TestingPlatformSupport.h
diff --git a/Source/platform/TestingPlatformSupport.h b/Source/platform/TestingPlatformSupport.h
index c24bff65b01b28de0912faadb45e1b7a8e55a344..bee4dcd85ea2612e44491457d89b3b4671e07f68 100644
--- a/Source/platform/TestingPlatformSupport.h
+++ b/Source/platform/TestingPlatformSupport.h
@@ -40,12 +40,12 @@ namespace blink {
class TestingDiscardableMemory : public WebDiscardableMemory {
public:
explicit TestingDiscardableMemory(size_t);
- virtual ~TestingDiscardableMemory();
+ ~TestingDiscardableMemory() override;
// WebDiscardableMemory:
- virtual bool lock() override;
- virtual void* data() override;
- virtual void unlock() override;
+ bool lock() override;
+ void* data() override;
+ void unlock() override;
private:
Vector<char> m_data;
@@ -62,13 +62,13 @@ public:
explicit TestingPlatformSupport(const Config&);
- virtual ~TestingPlatformSupport();
+ ~TestingPlatformSupport() override;
// Platform:
- virtual WebDiscardableMemory* allocateAndLockDiscardableMemory(size_t bytes) override;
- virtual void cryptographicallyRandomValues(unsigned char* buffer, size_t length) override;
- virtual const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) override;
- virtual WebString defaultLocale() override;
+ WebDiscardableMemory* allocateAndLockDiscardableMemory(size_t bytes) override;
+ void cryptographicallyRandomValues(unsigned char* buffer, size_t length) override;
+ const unsigned char* getTraceCategoryEnabledFlag(const char* categoryName) override;
+ WebString defaultLocale() override;
private:
const Config m_config;
« no previous file with comments | « Source/platform/Task.h ('k') | Source/platform/Timer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698