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

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: fix cc_unittests 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
Index: cc/scheduler.cc
diff --git a/cc/scheduler.cc b/cc/scheduler.cc
index 644241482b968996438bc82c3a862946087a06bb..5d198f8290e0b6289636c6140be7959872f2b635 100644
--- a/cc/scheduler.cc
+++ b/cc/scheduler.cc
@@ -7,12 +7,17 @@
#include "base/auto_reset.h"
#include "base/debug/trace_event.h"
#include "base/logging.h"
+#include "cc/layer_tree_settings.h"
namespace cc {
-Scheduler::Scheduler(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController)
+Scheduler::Scheduler(SchedulerClient* client,
+ scoped_ptr<FrameRateController> frameRateController,
+ const LayerTreeSettings& layerTreeSettings)
: m_client(client)
, m_frameRateController(frameRateController.Pass())
+ , m_layerTreeSettings(layerTreeSettings)
+ , m_stateMachine(layerTreeSettings)
, m_insideProcessScheduledActions(false)
{
DCHECK(m_client);

Powered by Google App Engine
This is Rietveld 408576698