Index: services/ui/surfaces/display_compositor.cc |
diff --git a/services/ui/surfaces/display_compositor.cc b/services/ui/surfaces/display_compositor.cc |
index c6679dfec2f20cf7ff02126147f03069a46bfe03..1f38c4f88c6a5ea8f1dff4bf31bdc86da51b3db0 100644 |
--- a/services/ui/surfaces/display_compositor.cc |
+++ b/services/ui/surfaces/display_compositor.cc |
@@ -25,7 +25,6 @@ namespace ui { |
DisplayCompositor::DisplayCompositor( |
scoped_refptr<base::SingleThreadTaskRunner> task_runner, |
gfx::AcceleratedWidget widget, |
- const scoped_refptr<GpuState>& gpu_state, |
const scoped_refptr<SurfacesState>& surfaces_state) |
: task_runner_(task_runner), |
surfaces_state_(surfaces_state), |
@@ -36,7 +35,7 @@ DisplayCompositor::DisplayCompositor( |
allocator_.client_id(), this); |
scoped_refptr<SurfacesContextProvider> surfaces_context_provider( |
- new SurfacesContextProvider(widget, gpu_state)); |
+ new SurfacesContextProvider(widget)); |
// TODO(rjkroege): If there is something better to do than CHECK, add it. |
CHECK(surfaces_context_provider->BindToCurrentThread()); |