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

Unified Diff: cc/scheduler/delay_based_time_source.cc

Issue 1146283005: Remove DelayBasedTimeSourceHighRes Class altogether (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « cc/scheduler/delay_based_time_source.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/delay_based_time_source.cc
diff --git a/cc/scheduler/delay_based_time_source.cc b/cc/scheduler/delay_based_time_source.cc
index ef43524a878288d72e4b89a5fdf6ce485fc18e33..f9c06ea044c867dcba867b26ef237cb7e9f345bc 100644
--- a/cc/scheduler/delay_based_time_source.cc
+++ b/cc/scheduler/delay_based_time_source.cc
@@ -37,27 +37,6 @@ static const double kPhaseChangeThreshold = 0.25;
// The following methods correspond to the DelayBasedTimeSource that uses
// the base::TimeTicks::Now as the timebase.
-scoped_refptr<DelayBasedTimeSourceHighRes> DelayBasedTimeSourceHighRes::Create(
- base::TimeDelta interval,
- base::SingleThreadTaskRunner* task_runner) {
- return make_scoped_refptr(
- new DelayBasedTimeSourceHighRes(interval, task_runner));
-}
-
-DelayBasedTimeSourceHighRes::DelayBasedTimeSourceHighRes(
- base::TimeDelta interval,
- base::SingleThreadTaskRunner* task_runner)
- : DelayBasedTimeSource(interval, task_runner) {
-}
-
-DelayBasedTimeSourceHighRes::~DelayBasedTimeSourceHighRes() {}
-
-base::TimeTicks DelayBasedTimeSourceHighRes::Now() const {
- return base::TimeTicks::Now();
-}
-
-// The following methods correspond to the DelayBasedTimeSource that uses
-// the base::TimeTicks::Now as the timebase.
scoped_refptr<DelayBasedTimeSource> DelayBasedTimeSource::Create(
base::TimeDelta interval,
base::SingleThreadTaskRunner* task_runner) {
@@ -272,10 +251,6 @@ std::string DelayBasedTimeSource::TypeString() const {
return "DelayBasedTimeSource";
}
-std::string DelayBasedTimeSourceHighRes::TypeString() const {
- return "DelayBasedTimeSourceHighRes";
-}
-
void DelayBasedTimeSource::AsValueInto(
base::trace_event::TracedValue* state) const {
state->SetString("type", TypeString());
« no previous file with comments | « cc/scheduler/delay_based_time_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698