| Index: ui/gl/gl_surface.h
|
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
|
| index 270e0ca9b263f31840448447cd368d62e8a39440..fec580ba8e0a5014f934f25380d32483a6396f39 100644
|
| --- a/ui/gl/gl_surface.h
|
| +++ b/ui/gl/gl_surface.h
|
| @@ -157,8 +157,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
|
| // with this GLSurface.
|
| virtual unsigned long GetCompatibilityKey();
|
|
|
| - // Get the GL pixel format of the surface, if available.
|
| - virtual GLSurfaceFormat GetFormat();
|
| + // Get the GL pixel format of the surface. Must be implemented in a
|
| + // subclass, though it's ok to just "return GLSurfaceFormat()" if
|
| + // the default is appropriate.
|
| + virtual GLSurfaceFormat GetFormat() = 0;
|
|
|
| // Get access to a helper providing time of recent refresh and period
|
| // of screen refresh. If unavailable, returns NULL.
|
|
|