Chromium Code Reviews| Index: cc/scheduler.h |
| diff --git a/cc/scheduler.h b/cc/scheduler.h |
| index eee40efd94924d02850f94c26e7c401e8ec77077..f84f955fe4481aae3e43c7e40292a10926ba2918 100644 |
| --- a/cc/scheduler.h |
| +++ b/cc/scheduler.h |
| @@ -49,9 +49,9 @@ protected: |
| class CC_EXPORT Scheduler : FrameRateControllerClient { |
| public: |
| - static scoped_ptr<Scheduler> create(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController) |
| + static scoped_ptr<Scheduler> create(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController, bool implSidePaintingEnabled) |
|
nduca
2013/01/11 04:07:31
How about passing in the Settings object?
brianderson
2013/01/12 00:38:34
Done.
|
| { |
| - return make_scoped_ptr(new Scheduler(client, frameRateController.Pass())); |
| + return make_scoped_ptr(new Scheduler(client, frameRateController.Pass(), implSidePaintingEnabled)); |
| } |
| virtual ~Scheduler(); |
| @@ -95,7 +95,7 @@ public: |
| virtual void vsyncTick(bool throttled) OVERRIDE; |
| private: |
| - Scheduler(SchedulerClient*, scoped_ptr<FrameRateController>); |
| + Scheduler(SchedulerClient*, scoped_ptr<FrameRateController>, bool implSidePaintingEnabled); |
| void processScheduledActions(); |