| 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 6997d601a049efc87456e7f82312c42b461e217b..bc4eff4f764a1504fbc33ea3ad5b478dc70732e0 100644
|
| --- a/gpu/command_buffer/service/context_state.h
|
| +++ b/gpu/command_buffer/service/context_state.h
|
| @@ -64,13 +64,13 @@ struct GPU_EXPORT TextureUnit {
|
| }
|
|
|
| void Unbind(TextureManager::TextureInfo* 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;
|
| }
|
| }
|
|
|