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

Unified Diff: content/child/child_message_filter.cc

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/child/child_message_filter.h ('k') | content/child/child_resource_message_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_message_filter.cc
diff --git a/content/child/child_message_filter.cc b/content/child/child_message_filter.cc
index eba469e5fdb2f7ac001de5849ca40dac0de21737..9e5ff63e99a63816c9357034509a08f0abe06bbc 100644
--- a/content/child/child_message_filter.cc
+++ b/content/child/child_message_filter.cc
@@ -18,7 +18,7 @@ class ChildMessageFilter::Internal : public IPC::MessageFilter {
public:
explicit Internal(ChildMessageFilter* filter) : filter_(filter) {}
- virtual bool OnMessageReceived(const IPC::Message& msg) override {
+ bool OnMessageReceived(const IPC::Message& msg) override {
scoped_refptr<base::TaskRunner> runner =
filter_->OverrideTaskRunnerForMessage(msg);
if (runner.get() && !runner->RunsTasksOnCurrentThread()) {
@@ -35,7 +35,7 @@ class ChildMessageFilter::Internal : public IPC::MessageFilter {
}
private:
- virtual ~Internal() {}
+ ~Internal() override {}
scoped_refptr<ChildMessageFilter> filter_;
DISALLOW_COPY_AND_ASSIGN(Internal);
« no previous file with comments | « content/child/child_message_filter.h ('k') | content/child/child_resource_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698