Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: ui/gfx/ozone/surface_factory_ozone.cc

Issue 102563005: [Ozone] Rename GetVSyncProvider to CreateVSyncProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>();
}
};
« no previous file with comments | « ui/gfx/ozone/surface_factory_ozone.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698