| Index: gpu/command_buffer/service/context_group.cc
|
| diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
|
| index 0a622eb9a33a80c43ddaa98ebb125ea0bc451402..df450df2cc31ebc130cde2572acf753a4dd61a34 100644
|
| --- a/gpu/command_buffer/service/context_group.cc
|
| +++ b/gpu/command_buffer/service/context_group.cc
|
| @@ -139,7 +139,7 @@ bool ContextGroup::Initialize(GLES2Decoder* decoder,
|
| return false;
|
| }
|
| // If we've already initialized the group just add the context.
|
| - decoders_.push_back(base::AsWeakPtr<GLES2Decoder>(decoder));
|
| + decoders_.push_back(decoder->AsWeakPtr());
|
| return true;
|
| }
|
|
|
| @@ -454,7 +454,7 @@ bool ContextGroup::Initialize(GLES2Decoder* decoder,
|
| return false;
|
| }
|
|
|
| - decoders_.push_back(base::AsWeakPtr<GLES2Decoder>(decoder));
|
| + decoders_.push_back(decoder->AsWeakPtr());
|
| return true;
|
| }
|
|
|
|
|