| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 7c4166f8654b0f57300bc096481a301f4fe6def0..6a7d1fedeefdd97a024824310cda914b4972a713 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -158,8 +158,7 @@ class COMPOSITOR_EXPORT Compositor
|
| : NON_EXPORTED_BASE(public cc::LayerTreeHostClient),
|
| NON_EXPORTED_BASE(public cc::LayerTreeHostSingleThreadClient) {
|
| public:
|
| - Compositor(gfx::AcceleratedWidget widget,
|
| - ui::ContextFactory* context_factory,
|
| + Compositor(ui::ContextFactory* context_factory,
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner);
|
| ~Compositor() override;
|
|
|
| @@ -230,7 +229,8 @@ class COMPOSITOR_EXPORT Compositor
|
| // context.
|
| void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval);
|
|
|
| - // Returns the widget for this compositor.
|
| + // Sets and returns the widget for the compositor to render into.
|
| + void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget);
|
| gfx::AcceleratedWidget widget() const { return widget_; }
|
|
|
| // Returns the vsync manager for this compositor.
|
|
|