| Index: gpu/command_buffer/service/common_decoder.h
|
| diff --git a/gpu/command_buffer/service/common_decoder.h b/gpu/command_buffer/service/common_decoder.h
|
| index e280cea2dad2ab6d475d2727c44ce3f67d33968b..a947286f72a391e50b75b3cb469cffa80b92074f 100644
|
| --- a/gpu/command_buffer/service/common_decoder.h
|
| +++ b/gpu/command_buffer/service/common_decoder.h
|
| @@ -10,11 +10,9 @@
|
|
|
| #include <map>
|
| #include <memory>
|
| -#include <stack>
|
| #include <string>
|
|
|
| #include "base/macros.h"
|
| -#include "base/memory/linked_ptr.h"
|
| #include "gpu/command_buffer/common/buffer.h"
|
| #include "gpu/command_buffer/service/cmd_parser.h"
|
| #include "gpu/gpu_export.h"
|
| @@ -198,7 +196,7 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) {
|
| CommandBufferEngine* engine_;
|
| size_t max_bucket_size_;
|
|
|
| - typedef std::map<uint32_t, linked_ptr<Bucket>> BucketMap;
|
| + typedef std::map<uint32_t, std::unique_ptr<Bucket>> BucketMap;
|
| BucketMap buckets_;
|
|
|
| typedef Error (CommonDecoder::*CmdHandler)(uint32_t immediate_data_size,
|
| @@ -215,6 +213,7 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) {
|
| // A table of CommandInfo for all the commands.
|
| static const CommandInfo command_info[];
|
|
|
| + DISALLOW_COPY_AND_ASSIGN(CommonDecoder);
|
| };
|
|
|
| } // namespace gpu
|
|
|