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

Unified Diff: base/process_util_unittest.cc

Issue 10004001: Add virtual and OVERRIDE to base/ implementation files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win Fix -> Missing header Created 8 years, 8 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 | « base/pr_time_unittest.cc ('k') | base/shared_memory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/process_util_unittest.cc
diff --git a/base/process_util_unittest.cc b/base/process_util_unittest.cc
index 8d26375fe46b64914fc3170e4262800fba8712b7..183103cce75f2cd35b07d3338a7d3ee32f46abff 100644
--- a/base/process_util_unittest.cc
+++ b/base/process_util_unittest.cc
@@ -939,15 +939,15 @@ class OutOfMemoryDeathTest : public testing::Test {
signed_test_size_(std::numeric_limits<ssize_t>::max()) {
}
- virtual void SetUp() {
#if defined(USE_TCMALLOC)
+ virtual void SetUp() OVERRIDE {
tc_set_new_mode(1);
}
- virtual void TearDown() {
+ virtual void TearDown() OVERRIDE {
tc_set_new_mode(0);
-#endif // defined(USE_TCMALLOC)
}
+#endif // defined(USE_TCMALLOC)
void SetUpInDeathAssert() {
// Must call EnableTerminationOnOutOfMemory() because that is called from
« no previous file with comments | « base/pr_time_unittest.cc ('k') | base/shared_memory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698