diff options
author | mmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-22 04:03:44 +0000 |
---|---|---|
committer | mmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-22 04:03:44 +0000 |
commit | 39ce5c010efa8c10cb1bbb33ad5c82e6b24f093c (patch) | |
tree | 546382483a18f0a676fdd9785ff4a1c51edf9ba1 /base/timer_unittest.cc | |
parent | 68475e609409624e43daf5adbfd127ee53bb6447 (diff) | |
download | chromium_src-39ce5c010efa8c10cb1bbb33ad5c82e6b24f093c.zip chromium_src-39ce5c010efa8c10cb1bbb33ad5c82e6b24f093c.tar.gz chromium_src-39ce5c010efa8c10cb1bbb33ad5c82e6b24f093c.tar.bz2 |
Enable -Werror on the Mac. Fix two more warnings just added to our build. Note that the targets for libskia and libicuuc still exclude themselves from -Werror.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1205 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/timer_unittest.cc')
-rw-r--r-- | base/timer_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/timer_unittest.cc b/base/timer_unittest.cc index 8b0f4b7..7086bd3 100644 --- a/base/timer_unittest.cc +++ b/base/timer_unittest.cc @@ -249,9 +249,9 @@ TEST(TimerTest, BrokenTimerCase) { TEST(TimerTest, DeleteFromRun) { // Make sure TimerManager correctly handles a Task that deletes itself when // run. - DeletingTask* deleting_task1 = new DeletingTask(50, true); + new DeletingTask(50, true); TimerTask timer_task(150, false); - DeletingTask* deleting_task2 = new DeletingTask(250, true); + new DeletingTask(250, true); TimerTask::RunTimers(); EXPECT_EQ(1, timer_task.iterations()); } @@ -326,7 +326,7 @@ TEST(TimerTest, FifoOrder) { MockTimerManager manager; const int kNumTimers = 1024; for (int i=0; i < kNumTimers; i++) - Timer* timer = manager.StartTimer(0, NULL, false); + manager.StartTimer(0, NULL, false); int last_id = -1; int new_id = 0; |