| Index: gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| index 63a62dad6b2877135a119e74a2393e5a94b2cb50..eeaa378024365de403447357a4e44a0e73dcfa25 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h
|
| @@ -79,6 +79,8 @@ class GLES2DecoderPassthroughImpl : public GLES2Decoder {
|
|
|
| const char* GetCommandName(unsigned int command_id) const override;
|
|
|
| + base::WeakPtr<GLES2Decoder> AsWeakPtr() override;
|
| +
|
| bool Initialize(const scoped_refptr<gl::GLSurface>& surface,
|
| const scoped_refptr<gl::GLContext>& context,
|
| bool offscreen,
|
| @@ -398,6 +400,8 @@ class GLES2DecoderPassthroughImpl : public GLES2Decoder {
|
| // Cache of scratch memory
|
| std::vector<uint8_t> scratch_memory_;
|
|
|
| + base::WeakPtrFactory<GLES2DecoderPassthroughImpl> weak_ptr_factory_;
|
| +
|
| // Include the prototypes of all the doer functions from a separate header to
|
| // keep this file clean.
|
| #include "gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h"
|
|
|