| Index: ui/gl/gl_surface.h
|
| diff --git a/ui/gl/gl_surface.h b/ui/gl/gl_surface.h
|
| index d458063953408368e5ae68f7b3dce69c38c6fbdf..135163866dcb4f5b5bf885090a0bc1f8b036a8ab 100644
|
| --- a/ui/gl/gl_surface.h
|
| +++ b/ui/gl/gl_surface.h
|
| @@ -38,6 +38,10 @@ class GL_EXPORT GLSurface : public base::RefCounted<GLSurface> {
|
| // Destroys the surface.
|
| virtual void Destroy() = 0;
|
|
|
| + // Destroys the surface and terminates its underlying display. This must be
|
| + // the last surface which uses the display.
|
| + virtual void DestroyAndTerminateDisplay();
|
| +
|
| virtual bool Resize(const gfx::Size& size);
|
|
|
| // Recreate the surface without changing the size.
|
|
|