Index: ui/gfx/ozone/surface_factory_ozone.cc |
diff --git a/ui/gfx/ozone/surface_factory_ozone.cc b/ui/gfx/ozone/surface_factory_ozone.cc |
index ea8e2f1a0b249d9287acaefa9479f446b067ee79..a99c3af8c9700ee17bed1f1b2fd710c799f45caf 100644 |
--- a/ui/gfx/ozone/surface_factory_ozone.cc |
+++ b/ui/gfx/ozone/surface_factory_ozone.cc |
@@ -7,6 +7,7 @@ |
#include <stdlib.h> |
#include "base/command_line.h" |
+#include "ui/gfx/vsync_provider.h" |
namespace gfx { |
@@ -35,9 +36,9 @@ class SurfaceFactoryOzoneStub : public SurfaceFactoryOzone { |
const gfx::Rect& bounds) OVERRIDE { |
return false; |
} |
- virtual gfx::VSyncProvider* GetVSyncProvider( |
+ virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider( |
gfx::AcceleratedWidget w) OVERRIDE { |
- return NULL; |
+ return scoped_ptr<VSyncProvider>(); |
} |
}; |