Chromium Code Reviews| Index: content/browser/aura/gpu_process_transport_factory.cc |
| diff --git a/content/browser/aura/gpu_process_transport_factory.cc b/content/browser/aura/gpu_process_transport_factory.cc |
| index 06057138de699d92d887327d23330346e59fec6a..9186374ff2ca64dc10195848a4fa24c0fc59cc4f 100644 |
| --- a/content/browser/aura/gpu_process_transport_factory.cc |
| +++ b/content/browser/aura/gpu_process_transport_factory.cc |
| @@ -74,6 +74,7 @@ class OwnedTexture : public ui::Texture, ImageTransportFactoryObserver { |
| // ImageTransportFactory overrides: |
| virtual void OnLostResources() OVERRIDE { |
| DeleteTexture(); |
|
cpu_(ooo_6.6-7.5)
2013/08/21 22:50:09
I think we should not call DeleteTexture() here an
piman
2013/08/21 23:01:33
I disagree. It can cause leaks depending on the GL
|
| + host_context_ = NULL; |
| } |
| protected: |