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

Unified Diff: base/test/simple_test_tick_clock.h

Issue 670623002: Change base::TickClock to a ref counted class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@audio_redesign
Patch Set: y Created 6 years, 2 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 | « ash/wm/maximize_mode/maximize_mode_controller.cc ('k') | base/time/default_tick_clock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/simple_test_tick_clock.h
diff --git a/base/test/simple_test_tick_clock.h b/base/test/simple_test_tick_clock.h
index c67eb558ff781a86be721728d5e1aeca25cf4bcd..56e6a22b04674b31a77e653009ce9db5b858a902 100644
--- a/base/test/simple_test_tick_clock.h
+++ b/base/test/simple_test_tick_clock.h
@@ -19,7 +19,6 @@ class SimpleTestTickClock : public TickClock {
public:
// Starts off with a clock set to TimeTicks().
SimpleTestTickClock();
- virtual ~SimpleTestTickClock();
virtual TimeTicks NowTicks() override;
@@ -27,6 +26,8 @@ class SimpleTestTickClock : public TickClock {
void Advance(TimeDelta delta);
private:
+ virtual ~SimpleTestTickClock();
+
// Protects |now_ticks_|.
Lock lock_;
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_controller.cc ('k') | base/time/default_tick_clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698