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

Unified Diff: cc/scheduler/scheduler_state_machine.cc

Issue 18939003: Webview fixes for Use BeginFrameArgs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/scheduler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/scheduler/scheduler_state_machine.cc
diff --git a/cc/scheduler/scheduler_state_machine.cc b/cc/scheduler/scheduler_state_machine.cc
index cbaacb9ecd720a2bd77e449bd71eaa07d5a492b7..54dd0e3fdaf5dc0973f42cfeb84227cb49e2d123 100644
--- a/cc/scheduler/scheduler_state_machine.cc
+++ b/cc/scheduler/scheduler_state_machine.cc
@@ -462,7 +462,7 @@ void SchedulerStateMachine::OnBeginFrame(const BeginFrameArgs& args) {
bool SchedulerStateMachine::ShouldTriggerBeginFrameDeadlineEarly() const {
// TODO(brianderson): This should take into account multiple commit sources.
return begin_frame_state_ == BEGIN_FRAME_STATE_DEADLINE_PENDING &&
- WillDrawNewTree();
+ WillDrawNewTree() && !settings_.using_synchronous_renderer_compositor;
}
bool SchedulerStateMachine::InsideBeginFrame() const {
« no previous file with comments | « cc/scheduler/scheduler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698