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

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: Keep needsRedraw decision in the commit state 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..013b805495dc4947747480f4204c5a542d63c5cf 100644
--- a/cc/scheduler.cc
+++ b/cc/scheduler.cc
@@ -10,9 +10,10 @@
namespace cc {
-Scheduler::Scheduler(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController)
+Scheduler::Scheduler(SchedulerClient* client, scoped_ptr<FrameRateController> frameRateController, bool implSidePaintingEnabled)
: m_client(client)
, m_frameRateController(frameRateController.Pass())
+ , m_stateMachine(implSidePaintingEnabled)
, m_insideProcessScheduledActions(false)
{
DCHECK(m_client);

Powered by Google App Engine
This is Rietveld 408576698