| Index: cc/resources/resource_provider.cc
|
| ===================================================================
|
| --- cc/resources/resource_provider.cc (revision 243070)
|
| +++ cc/resources/resource_provider.cc (working copy)
|
| @@ -545,7 +545,7 @@
|
| }
|
| if (resource->mailbox.IsValid() && resource->external) {
|
| GLuint sync_point = resource->mailbox.sync_point();
|
| - if (resource->mailbox.IsTexture()) {
|
| + if (resource->mailbox.IsTexture() && ContextGL() != NULL) {
|
| lost_resource |= lost_output_surface_;
|
| GLES2Interface* gl = ContextGL();
|
| DCHECK(gl);
|
|
|