| Index: app/gfx/gl/gl_context_stub.h
|
| diff --git a/app/gfx/gl/gl_context_stub.h b/app/gfx/gl/gl_context_stub.h
|
| index 0037044b4c889e4dc79281d3116048343d2c68dd..d4a1e18ed4ea6550770f7a8deec878f3340e8968 100644
|
| --- a/app/gfx/gl/gl_context_stub.h
|
| +++ b/app/gfx/gl/gl_context_stub.h
|
| @@ -15,16 +15,18 @@ namespace gfx {
|
| // A GLContext that does nothing for unit tests.
|
| class StubGLContext : public gfx::GLContext {
|
| public:
|
| + virtual ~StubGLContext();
|
| +
|
| // Implement GLContext.
|
| virtual void Destroy() {}
|
| - virtual bool MakeCurrent() { return true; }
|
| - virtual bool IsCurrent() { return true; }
|
| - virtual bool IsOffscreen() { return false; }
|
| - virtual bool SwapBuffers() { return true; }
|
| - virtual gfx::Size GetSize() { return size_; }
|
| - virtual void* GetHandle() { return NULL; }
|
| + virtual bool MakeCurrent();
|
| + virtual bool IsCurrent();
|
| + virtual bool IsOffscreen();
|
| + virtual bool SwapBuffers();
|
| + virtual gfx::Size GetSize();
|
| + virtual void* GetHandle();
|
| virtual void SetSwapInterval(int interval) {}
|
| - virtual std::string GetExtensions() { return std::string(); }
|
| + virtual std::string GetExtensions();
|
|
|
| void SetSize(const gfx::Size& size) { size_ = size; }
|
|
|
|
|