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

Unified Diff: base/time/default_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 | « base/test/simple_test_tick_clock.h ('k') | base/time/tick_clock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/time/default_tick_clock.h
diff --git a/base/time/default_tick_clock.h b/base/time/default_tick_clock.h
index b3d5a31dc40e91ededb2dd6fe3b96064cbbe546c..7d59bb4876e3509827ccc5e32425a1886902d970 100644
--- a/base/time/default_tick_clock.h
+++ b/base/time/default_tick_clock.h
@@ -14,10 +14,11 @@ namespace base {
// DefaultClock is a Clock implementation that uses TimeTicks::Now().
class BASE_EXPORT DefaultTickClock : public TickClock {
public:
- virtual ~DefaultTickClock();
-
// Simply returns TimeTicks::Now().
virtual TimeTicks NowTicks() override;
+
+ protected:
+ virtual ~DefaultTickClock();
};
} // namespace base
« no previous file with comments | « base/test/simple_test_tick_clock.h ('k') | base/time/tick_clock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698