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

Unified Diff: cc/scheduler.cc

Issue 11830040: cc: Do not request redraw on commit when impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_draw3
Patch Set: Use CC_EXPORT Created 7 years, 11 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.h ('k') | cc/scheduler_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler.cc
diff --git a/cc/scheduler.cc b/cc/scheduler.cc
index c485a389f948364d645f5b23dc7d13b5c85ee950..dbe96dde718341bb72069b7cc6ed2aeeb959371f 100644
--- a/cc/scheduler.cc
+++ b/cc/scheduler.cc
@@ -10,9 +10,13 @@
namespace cc {
-Scheduler::Scheduler(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController)
- : m_client(client)
+Scheduler::Scheduler(SchedulerClient* client,
+ scoped_ptr<FrameRateController> frameRateController,
+ const SchedulerSettings& schedulerSettings)
+ : m_settings(schedulerSettings)
+ , m_client(client)
, m_frameRateController(frameRateController.Pass())
+ , m_stateMachine(schedulerSettings)
, m_insideProcessScheduledActions(false)
{
DCHECK(m_client);
« no previous file with comments | « cc/scheduler.h ('k') | cc/scheduler_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698