| Index: services/ui/surfaces/display_compositor.cc
|
| diff --git a/services/ui/surfaces/display_compositor.cc b/services/ui/surfaces/display_compositor.cc
|
| index 1f38c4f88c6a5ea8f1dff4bf31bdc86da51b3db0..c6679dfec2f20cf7ff02126147f03069a46bfe03 100644
|
| --- a/services/ui/surfaces/display_compositor.cc
|
| +++ b/services/ui/surfaces/display_compositor.cc
|
| @@ -25,6 +25,7 @@ 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),
|
| @@ -35,7 +36,7 @@ DisplayCompositor::DisplayCompositor(
|
| allocator_.client_id(), this);
|
|
|
| scoped_refptr<SurfacesContextProvider> surfaces_context_provider(
|
| - new SurfacesContextProvider(widget));
|
| + new SurfacesContextProvider(widget, gpu_state));
|
| // TODO(rjkroege): If there is something better to do than CHECK, add it.
|
| CHECK(surfaces_context_provider->BindToCurrentThread());
|
|
|
|
|