| Index: gpu/command_buffer/service/context_state.h
|
| diff --git a/gpu/command_buffer/service/context_state.h b/gpu/command_buffer/service/context_state.h
|
| index 47f180ae03b6b793d20231235d862e0a4fdc693f..14a6d410662d7a47cfc8e91afdb73e3de25ba7c0 100644
|
| --- a/gpu/command_buffer/service/context_state.h
|
| +++ b/gpu/command_buffer/service/context_state.h
|
| @@ -70,13 +70,13 @@ struct GPU_EXPORT TextureUnit {
|
| }
|
|
|
| void Unbind(TextureRef* texture) {
|
| - if (bound_texture_2d == texture) {
|
| + if (bound_texture_2d.get() == texture) {
|
| bound_texture_2d = NULL;
|
| }
|
| - if (bound_texture_cube_map == texture) {
|
| + if (bound_texture_cube_map.get() == texture) {
|
| bound_texture_cube_map = NULL;
|
| }
|
| - if (bound_texture_external_oes == texture) {
|
| + if (bound_texture_external_oes.get() == texture) {
|
| bound_texture_external_oes = NULL;
|
| }
|
| }
|
|
|