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

Unified Diff: mojo/services/surfaces/surfaces_scheduler.cc

Issue 1068743003: Revert of Add DisplayScheduler for Surfaces (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « mojo/services/surfaces/surfaces_scheduler.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/surfaces/surfaces_scheduler.cc
diff --git a/mojo/services/surfaces/surfaces_scheduler.cc b/mojo/services/surfaces/surfaces_scheduler.cc
index e42bd546745cde7428982e74c9fe2be3e9765095..e20015b5e37a24d83cfec707d2f7e79f95e75118 100644
--- a/mojo/services/surfaces/surfaces_scheduler.cc
+++ b/mojo/services/surfaces/surfaces_scheduler.cc
@@ -56,7 +56,7 @@
cc::DrawResult SurfacesScheduler::ScheduledActionDrawAndSwapIfPossible() {
base::TimeTicks start = base::TimeTicks::Now();
for (const auto& it : displays_) {
- it->DrawAndSwap();
+ it->Draw();
}
base::TimeDelta duration = base::TimeTicks::Now() - start;
« no previous file with comments | « mojo/services/surfaces/surfaces_scheduler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698