Modernize C++11: Use override.

This commit is contained in:
Haojian Wu
2016-07-10 13:22:54 +02:00
parent 0cf7454d4b
commit 3e041b2c91
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ class DevToolsDelegate :
public devtools_http_handler::DevToolsHttpHandlerDelegate {
public:
DevToolsDelegate();
virtual ~DevToolsDelegate();
~DevToolsDelegate() override;
// devtools_http_handler::DevToolsHttpHandlerDelegate.
std::string GetDiscoveryPageHTML() override;

View File

@@ -114,7 +114,7 @@ class BundledDataSource : public content::URLDataSource {
}
private:
virtual ~BundledDataSource() {}
~BundledDataSource() override {}
DISALLOW_COPY_AND_ASSIGN(BundledDataSource);
};