| Index: ui/gfx/ozone/surface_factory_ozone.h
|
| diff --git a/ui/gfx/ozone/surface_factory_ozone.h b/ui/gfx/ozone/surface_factory_ozone.h
|
| index c09a65ff8c722e3d29bef77cfe1cf188606344a3..494c5be447e34114a6ad94d3878da6642647b5a0 100644
|
| --- a/ui/gfx/ozone/surface_factory_ozone.h
|
| +++ b/ui/gfx/ozone/surface_factory_ozone.h
|
| @@ -6,6 +6,7 @@
|
| #define UI_GFX_OZONE_SURFACE_LNUX_FACTORY_OZONE_H_
|
|
|
| #include "base/callback.h"
|
| +#include "base/memory/scoped_ptr.h"
|
| #include "base/native_library.h"
|
| #include "ui/gfx/gfx_export.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -125,8 +126,9 @@ class GFX_EXPORT SurfaceFactoryOzone {
|
| // that this may be called after we have entered the sandbox so if there are
|
| // operations (e.g. opening a file descriptor providing vsync events) that
|
| // must be done outside of the sandbox, they must have been completed
|
| - // in InitializeHardware. Returns NULL on error.
|
| - virtual gfx::VSyncProvider* GetVSyncProvider(gfx::AcceleratedWidget w) = 0;
|
| + // in InitializeHardware. Returns an empty scoped_ptr on error.
|
| + virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
|
| + gfx::AcceleratedWidget w) = 0;
|
|
|
| // Returns an array of EGL properties, which can be used in any EGL function
|
| // used to select a display configuration. Note that all properties should be
|
|
|