 Chromium Code Reviews
 Chromium Code Reviews Issue 301793003:
  During image destroy, delete textures only if we have a GL context.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 301793003:
  During image destroy, delete textures only if we have a GL context.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: ui/gl/gl_image.h | 
| diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h | 
| index 45303fd64602321259973a4090478e645390ca37..18e0cb0fb4ffcf49d7528bf9db09f5127adb04d7 100644 | 
| --- a/ui/gl/gl_image.h | 
| +++ b/ui/gl/gl_image.h | 
| @@ -18,7 +18,7 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { | 
| GLImage(); | 
| // Destroys the image. | 
| - virtual void Destroy() = 0; | 
| + virtual void Destroy(bool have_context) = 0; | 
| // Get the size of the image. | 
| virtual gfx::Size GetSize() = 0; |