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

Unified Diff: cc/scheduler/begin_frame_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 | « no previous file | cc/scheduler/delay_based_time_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/begin_frame_source.cc
diff --git a/cc/scheduler/begin_frame_source.cc b/cc/scheduler/begin_frame_source.cc
index bda51852e5d000a5e24148e1877077f01840f964..4b5917a3ee2e451517b2faefcccbe9e4cf30fe48 100644
--- a/cc/scheduler/begin_frame_source.cc
+++ b/cc/scheduler/begin_frame_source.cc
@@ -210,14 +210,8 @@ scoped_ptr<SyntheticBeginFrameSource> SyntheticBeginFrameSource::Create(
base::TimeTicks initial_vsync_timebase,
base::TimeDelta initial_vsync_interval) {
scoped_refptr<DelayBasedTimeSource> time_source;
- if (base::TimeTicks::IsHighResolution()) {
- time_source = DelayBasedTimeSourceHighRes::Create(initial_vsync_interval,
- task_runner);
- } else {
- time_source =
- DelayBasedTimeSource::Create(initial_vsync_interval, task_runner);
- }
-
+ time_source =
+ DelayBasedTimeSource::Create(initial_vsync_interval, task_runner);
return make_scoped_ptr(new SyntheticBeginFrameSource(time_source));
}
« no previous file with comments | « no previous file | cc/scheduler/delay_based_time_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698