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

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 432093003: Enqueuing new frames in a Surface should cause Displays to reaggregate it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 17b05485e2100548e11665e3def068bad5f42db1..e8d7d6a77f448acb4cfc60baad0efdc489fa5a7d 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -189,8 +189,11 @@ scoped_ptr<cc::OutputSurface> GpuProcessTransportFactory::CreateOutputSurface(
&output_surface_map_,
compositor->vsync_manager()));
}
- scoped_ptr<OnscreenDisplayClient> display_client(new OnscreenDisplayClient(
- context_provider, software_surface.Pass(), manager));
+ scoped_ptr<OnscreenDisplayClient> display_client(
+ new OnscreenDisplayClient(context_provider,
+ software_surface.Pass(),
+ manager,
+ compositor->task_runner()));
// TODO(jamesr): Need to set up filtering for the
// GpuHostMsg_UpdateVSyncParameters message.

Powered by Google App Engine
This is Rietveld 408576698