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

Unified Diff: ui/compositor/compositor.cc

Issue 290563005: Do SetNeedsCommit() instead of Composite() in threaded mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: composite: . Created 6 years, 7 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 | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 866e5265b738e87f435a216f5633f446a3f0efc8..ec7dd9ce41d48bf7ecef9df0fb1ce56eabeb775a 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -180,7 +180,7 @@ Compositor::~Compositor() {
void Compositor::ScheduleDraw() {
if (compositor_thread_loop_) {
- host_->Composite(gfx::FrameTime::Now());
+ host_->SetNeedsCommit();
} else if (!defer_draw_scheduling_) {
defer_draw_scheduling_ = true;
base::MessageLoop::current()->PostTask(
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698