Index: ui/gfx/gl/gl_surface_osmesa.h |
=================================================================== |
--- ui/gfx/gl/gl_surface_osmesa.h (revision 106500) |
+++ ui/gfx/gl/gl_surface_osmesa.h (working copy) |
@@ -22,7 +22,7 @@ |
// Resize the back buffer, preserving the old content. Does nothing if the |
// size is unchanged. |
- void Resize(const gfx::Size& new_size); |
+ virtual bool Resize(const gfx::Size& new_size); |
// Implement GLSurface. |
virtual bool Initialize(); |
@@ -31,10 +31,8 @@ |
virtual bool SwapBuffers(); |
virtual gfx::Size GetSize(); |
virtual void* GetHandle(); |
+ virtual unsigned GetFormat(); |
- // Get the surface's format. |
- unsigned GetFormat(); |
- |
private: |
void AllocateBuffer(const Size& size); |