| Index: ui/compositor/compositor.h
|
| diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
|
| index 0e4ac8a0a27e261c3955f368f8a09976029c3193..87737974ef750d28876734555a546e676c3c82d1 100644
|
| --- a/ui/compositor/compositor.h
|
| +++ b/ui/compositor/compositor.h
|
| @@ -192,6 +192,10 @@ class COMPOSITOR_EXPORT Compositor
|
| // Returns the vsync manager for this compositor.
|
| scoped_refptr<CompositorVSyncManager> vsync_manager() const;
|
|
|
| + scoped_refptr<base::SingleThreadTaskRunner> task_runner() const {
|
| + return task_runner_;
|
| + }
|
| +
|
| // Compositor does not own observers. It is the responsibility of the
|
| // observer to remove itself when it is done observing.
|
| void AddObserver(CompositorObserver* observer);
|
|
|