Index: components/nacl/browser/pnacl_host_unittest.cc |
diff --git a/components/nacl/browser/pnacl_host_unittest.cc b/components/nacl/browser/pnacl_host_unittest.cc |
index 832693240a788016cbc174c394ef024d376feb7b..3f2d3efadfb2e56c7fef72d534bbf7aed9c0bb84 100644 |
--- a/components/nacl/browser/pnacl_host_unittest.cc |
+++ b/components/nacl/browser/pnacl_host_unittest.cc |
@@ -37,14 +37,14 @@ class PnaclHostTest : public testing::Test { |
temp_callback_count_(0), |
write_callback_count_(0), |
thread_bundle_(content::TestBrowserThreadBundle::IO_MAINLOOP) {} |
- virtual void SetUp() { |
+ void SetUp() override { |
host_ = new PnaclHost(); |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
host_->InitForTest(temp_dir_.path(), true); |
base::RunLoop().RunUntilIdle(); |
EXPECT_EQ(PnaclHost::CacheReady, host_->cache_state_); |
} |
- virtual void TearDown() { |
+ void TearDown() override { |
EXPECT_EQ(0U, host_->pending_translations()); |
// Give the host a chance to de-init the backend, and then delete it. |
host_->RendererClosing(0); |
@@ -436,7 +436,7 @@ TEST_F(PnaclHostTest, ClearTranslationCache) { |
// A version of PnaclHostTest that initializes cache on disk. |
class PnaclHostTestDisk : public PnaclHostTest { |
protected: |
- virtual void SetUp() { |
+ void SetUp() override { |
host_ = new PnaclHost(); |
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); |
host_->InitForTest(temp_dir_.path(), false); |