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

Unified Diff: cc/scheduler/scheduler.h

Issue 2324273002: Remove external begin frame source parameter and settings (Closed)
Patch Set: Rebase Created 4 years, 3 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
Index: cc/scheduler/scheduler.h
diff --git a/cc/scheduler/scheduler.h b/cc/scheduler/scheduler.h
index ce505584a9574398822a3fca975bcebceeace793..57470da922e0021a0dc9a6662c58fa25ff51249a 100644
--- a/cc/scheduler/scheduler.h
+++ b/cc/scheduler/scheduler.h
@@ -54,14 +54,11 @@ class SchedulerClient {
class CC_EXPORT Scheduler : public BeginFrameObserverBase {
public:
- static std::unique_ptr<Scheduler> Create(
- SchedulerClient* client,
- const SchedulerSettings& scheduler_settings,
- int layer_tree_host_id,
- base::SingleThreadTaskRunner* task_runner,
- BeginFrameSource* begin_frame_source,
- std::unique_ptr<CompositorTimingHistory> compositor_timing_history);
-
+ Scheduler(SchedulerClient* client,
+ const SchedulerSettings& scheduler_settings,
+ int layer_tree_host_id,
+ base::SingleThreadTaskRunner* task_runner,
+ std::unique_ptr<CompositorTimingHistory> compositor_timing_history);
~Scheduler() override;
// BeginFrameObserverBase
@@ -138,13 +135,6 @@ class CC_EXPORT Scheduler : public BeginFrameObserverBase {
}
protected:
- Scheduler(SchedulerClient* client,
- const SchedulerSettings& scheduler_settings,
- int layer_tree_host_id,
- base::SingleThreadTaskRunner* task_runner,
- BeginFrameSource* begin_frame_source,
- std::unique_ptr<CompositorTimingHistory> compositor_timing_history);
-
// Virtual for testing.
virtual base::TimeTicks Now() const;

Powered by Google App Engine
This is Rietveld 408576698