| 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 12bfd8c94830b323c9f7a2ad0a66f4884b27da7b..be5fc2422e1257913392dd89ea9a4cea69e093f8 100644
|
| --- a/content/browser/aura/gpu_process_transport_factory.cc
|
| +++ b/content/browser/aura/gpu_process_transport_factory.cc
|
| @@ -67,6 +67,8 @@ class OwnedTexture : public ui::Texture, ImageTransportFactoryObserver {
|
|
|
| // ui::Texture overrides:
|
| virtual unsigned int PrepareTexture() OVERRIDE {
|
| + if (!host_context_ || host_context_->isContextLost())
|
| + return 0u;
|
| return texture_id_;
|
| }
|
|
|
|
|