Chromium Code Reviews| Index: ui/gl/gl_image.h |
| diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
| index c96d3d31dd2033c0a09a88fdf3b90d2c1c6e09b8..c3445f108df5301a97d38cbcf4cef0063e598888 100644 |
| --- a/ui/gl/gl_image.h |
| +++ b/ui/gl/gl_image.h |
| @@ -33,6 +33,9 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
| // Destroys the image. |
| virtual void Destroy(bool have_context) = 0; |
| + // Query the image status |
| + virtual bool IsValid() = 0; |
| + |
| // Get the size of the image. |
| virtual gfx::Size GetSize() = 0; |