Index: mojo/edk/embedder/platform_channel_pair_posix_unittest.cc |
diff --git a/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc b/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc |
index 355e573d32e6ac9639493ab00f4f0ad3fc7731e2..926bbc5dae726df0c9f7c9d54ed33762cd5d1376 100644 |
--- a/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc |
+++ b/mojo/edk/embedder/platform_channel_pair_posix_unittest.cc |
@@ -42,16 +42,16 @@ void WaitReadable(PlatformHandle h) { |
class PlatformChannelPairPosixTest : public testing::Test { |
public: |
PlatformChannelPairPosixTest() {} |
- virtual ~PlatformChannelPairPosixTest() {} |
+ ~PlatformChannelPairPosixTest() override {} |
- virtual void SetUp() override { |
+ void SetUp() override { |
// Make sure |SIGPIPE| isn't being ignored. |
struct sigaction action = {}; |
action.sa_handler = SIG_DFL; |
ASSERT_EQ(0, sigaction(SIGPIPE, &action, &old_action_)); |
} |
- virtual void TearDown() override { |
+ void TearDown() override { |
// Restore the |SIGPIPE| handler. |
ASSERT_EQ(0, sigaction(SIGPIPE, &old_action_, nullptr)); |
} |