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

Unified Diff: content/common/gpu/gpu_channel.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/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index 817751dea25d0c337810f52c9559d213ccf89b36..8a327a1568292a288ed6e3ca6da0181d7baba96c 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -83,17 +83,17 @@ class GpuChannelMessageFilter : public IPC::MessageFilter {
a_stub_is_descheduled_(false),
future_sync_points_(future_sync_points) {}
- virtual void OnFilterAdded(IPC::Sender* sender) override {
+ void OnFilterAdded(IPC::Sender* sender) override {
DCHECK(!sender_);
sender_ = sender;
}
- virtual void OnFilterRemoved() override {
+ void OnFilterRemoved() override {
DCHECK(sender_);
sender_ = NULL;
}
- virtual bool OnMessageReceived(const IPC::Message& message) override {
+ bool OnMessageReceived(const IPC::Message& message) override {
DCHECK(sender_);
bool handled = false;
@@ -166,7 +166,7 @@ class GpuChannelMessageFilter : public IPC::MessageFilter {
}
protected:
- virtual ~GpuChannelMessageFilter() {}
+ ~GpuChannelMessageFilter() override {}
private:
enum PreemptionState {
« no previous file with comments | « content/common/gpu/gpu_channel.h ('k') | content/common/gpu/gpu_channel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698