Commit d0d08e95 authored by dnicoara@chromium.org's avatar dnicoara@chromium.org

[Ozone] Update gfx::SurfaceFactoryOzone interface in content_unittests

Missed updating the MockSurfaceFactoryOzone implementation in content_unittests
when I modified the GetVSyncProvider function.

TBR=piman@chromium.org
NOTRY=true

BUG=

Review URL: https://codereview.chromium.org/131893002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243903 0039d316-1c4b-4281-b951-d872f2087c98
parent f7f43442
......@@ -13,6 +13,7 @@
#include "ui/gfx/ozone/surface_factory_ozone.h"
#include "ui/gfx/size.h"
#include "ui/gfx/skia_util.h"
#include "ui/gfx/vsync_provider.h"
#include "ui/gl/gl_implementation.h"
namespace {
......@@ -47,9 +48,9 @@ class MockSurfaceFactoryOzone : public gfx::SurfaceFactoryOzone {
virtual SkCanvas* GetCanvasForWidget(gfx::AcceleratedWidget w) OVERRIDE {
return canvas_.get();
}
virtual gfx::VSyncProvider* GetVSyncProvider(
virtual scoped_ptr<gfx::VSyncProvider> CreateVSyncProvider(
gfx::AcceleratedWidget w) OVERRIDE {
return NULL;
return scoped_ptr<gfx::VSyncProvider>();
}
private:
skia::RefPtr<SkBitmapDevice> device_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment