| Index: gpu/command_buffer/service/texture_manager.h
|
| diff --git a/gpu/command_buffer/service/texture_manager.h b/gpu/command_buffer/service/texture_manager.h
|
| index 76acd155b3b6d0159c3b96dc5d948ef1ba9b8a67..c3820568d49dfce987743f298726515580bd2507 100644
|
| --- a/gpu/command_buffer/service/texture_manager.h
|
| +++ b/gpu/command_buffer/service/texture_manager.h
|
| @@ -81,6 +81,7 @@ class GPU_EXPORT Texture {
|
| }
|
|
|
| void SetServiceId(GLuint service_id) {
|
| + DCHECK(service_id);
|
| service_id_ = service_id;
|
| }
|
|
|
| @@ -124,10 +125,6 @@ class GPU_EXPORT Texture {
|
| return !!target();
|
| }
|
|
|
| - void SetNotOwned() {
|
| - owned_ = false;
|
| - }
|
| -
|
| bool IsAttachedToFramebuffer() const {
|
| return framebuffer_attachment_count_ != 0;
|
| }
|
| @@ -368,10 +365,6 @@ class GPU_EXPORT Texture {
|
| // The number of framebuffers this texture is attached to.
|
| int framebuffer_attachment_count_;
|
|
|
| - // Whether the associated context group owns this texture and should delete
|
| - // it.
|
| - bool owned_;
|
| -
|
| // Whether this is a special streaming texture.
|
| bool stream_texture_;
|
|
|
|
|