| Index: gpu/command_buffer/service/texture_definition.h
|
| diff --git a/gpu/command_buffer/service/texture_definition.h b/gpu/command_buffer/service/texture_definition.h
|
| index cb21abda208561e86cec66e5e9d8e912da0947d7..ff891fc4ff310997f2db32e7f7e9497c7085bdd0 100644
|
| --- a/gpu/command_buffer/service/texture_definition.h
|
| +++ b/gpu/command_buffer/service/texture_definition.h
|
| @@ -40,8 +40,8 @@ class NativeImageBuffer : public base::RefCountedThreadSafe<NativeImageBuffer> {
|
| // the underlying image buffer(s).
|
| class TextureDefinition {
|
| public:
|
| - TextureDefinition(GLenum target,
|
| - Texture* texture,
|
| + TextureDefinition();
|
| + TextureDefinition(Texture* texture,
|
| unsigned int version,
|
| const scoped_refptr<NativeImageBuffer>& image);
|
| virtual ~TextureDefinition();
|
| @@ -55,7 +55,7 @@ class TextureDefinition {
|
| }
|
| bool Matches(const Texture* texture) const;
|
|
|
| - scoped_refptr<NativeImageBuffer> image() { return image_buffer_; }
|
| + scoped_refptr<NativeImageBuffer> image() const { return image_buffer_; }
|
|
|
| private:
|
| struct LevelInfo {
|
|
|