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

Unified Diff: ui/compositor/compositor.cc

Issue 16304003: Unified OutputSurface::SwapBuffers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: SynchronousCompositorOutputSurface::DemandDrawSw Created 7 years, 6 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: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index 2a2dd0342dee12f52473cb2060acf35497aabfb7..2238376042e56145f6f90215c685118846df07d5 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -758,11 +758,6 @@ void Compositor::DidCommitAndDrawFrame() {
FOR_EACH_OBSERVER(CompositorObserver,
observer_list_,
OnCompositingStarted(this, start_time));
- // If we're threaded without a swap complete callback, we have to
- // call DidCompleteSwapBuffersManually.
- if (g_compositor_thread &&
- !host_->GetRendererCapabilities().using_swap_complete_callback)
- DidCompleteSwapBuffers();
}
void Compositor::DidCompleteSwapBuffers() {
« content/renderer/gpu/compositor_output_surface.cc ('K') | « content/renderer/render_widget.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698