diff options
author | Daniel Cheng <dcheng@chromium.org> | 2014-12-30 19:48:36 -0800 |
---|---|---|
committer | Daniel Cheng <dcheng@chromium.org> | 2014-12-31 03:49:48 +0000 |
commit | 3e6beaa7cb2416594b29feebd089f99e73aceeec (patch) | |
tree | f456536cdc4136a39bf2a885bc0441846689f95d /ipc | |
parent | 5bb9f84048f8570dd73d063b61598b5d33049f88 (diff) | |
download | chromium_src-3e6beaa7cb2416594b29feebd089f99e73aceeec.zip chromium_src-3e6beaa7cb2416594b29feebd089f99e73aceeec.tar.gz chromium_src-3e6beaa7cb2416594b29feebd089f99e73aceeec.tar.bz2 |
Fix build break from strict checking of {virtual,override,final}.
BUG=417463
R=dbeam@chromium.org
TBR=agl@chromium.org
Review URL: https://codereview.chromium.org/832733004
Cr-Commit-Position: refs/heads/master@{#309801}
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_channel_proxy_unittest.cc | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/ipc/ipc_channel_proxy_unittest.cc b/ipc/ipc_channel_proxy_unittest.cc index 6ed2470..e7ebe64 100644 --- a/ipc/ipc_channel_proxy_unittest.cc +++ b/ipc/ipc_channel_proxy_unittest.cc @@ -47,7 +47,6 @@ namespace { class QuitListener : public IPC::Listener { public: QuitListener() : bad_message_received_(false) {} - ~QuitListener() override {} bool OnMessageReceived(const IPC::Message& message) override { IPC_BEGIN_MESSAGE_MAP(QuitListener, message) @@ -76,7 +75,6 @@ class QuitListener : public IPC::Listener { class ChannelReflectorListener : public IPC::Listener { public: ChannelReflectorListener() : channel_(NULL) {} - ~ChannelReflectorListener() override {} void Init(IPC::Channel* channel) { DCHECK(!channel_); @@ -380,10 +378,7 @@ TEST_F(IPCChannelProxyTest, BadMessageOnIPCThread) { class IPCChannelBadMessageTest : public IPCTestBase { public: - IPCChannelBadMessageTest() {} - virtual ~IPCChannelBadMessageTest() {} - - virtual void SetUp() override { + void SetUp() override { IPCTestBase::SetUp(); Init("ChannelProxyClient"); @@ -395,7 +390,7 @@ class IPCChannelBadMessageTest : public IPCTestBase { ASSERT_TRUE(StartClient()); } - virtual void TearDown() { + void TearDown() override { listener_.reset(); IPCTestBase::TearDown(); } |