| Index: gpu/ipc/service/gpu_command_buffer_stub.cc
|
| diff --git a/gpu/ipc/service/gpu_command_buffer_stub.cc b/gpu/ipc/service/gpu_command_buffer_stub.cc
|
| index 3aa4b78049db99e554b7a668f7ce2e7e8f517511..12dae444a10a7d95c67ea5012371f7bd57d4d4ca 100644
|
| --- a/gpu/ipc/service/gpu_command_buffer_stub.cc
|
| +++ b/gpu/ipc/service/gpu_command_buffer_stub.cc
|
| @@ -711,7 +711,7 @@ void GpuCommandBufferStub::OnWaitForTokenInRange(int32_t start,
|
| if (wait_for_token_)
|
| LOG(ERROR) << "Got WaitForToken command while currently waiting for token.";
|
| wait_for_token_ =
|
| - base::WrapUnique(new WaitForCommandState(start, end, reply_message));
|
| + base::MakeUnique<WaitForCommandState>(start, end, reply_message);
|
| CheckCompleteWaits();
|
| }
|
|
|
| @@ -727,7 +727,7 @@ void GpuCommandBufferStub::OnWaitForGetOffsetInRange(
|
| << "Got WaitForGetOffset command while currently waiting for offset.";
|
| }
|
| wait_for_get_offset_ =
|
| - base::WrapUnique(new WaitForCommandState(start, end, reply_message));
|
| + base::MakeUnique<WaitForCommandState>(start, end, reply_message);
|
| CheckCompleteWaits();
|
| }
|
|
|
|
|