Index: gpu/vulkan/vulkan_device_queue.cc |
diff --git a/gpu/vulkan/vulkan_device_queue.cc b/gpu/vulkan/vulkan_device_queue.cc |
index 17fc1a39e2c48466cc84f24f4f67591e052f6c66..aa6f987c7a62c9bef0e1489c3b6e7960f311448a 100644 |
--- a/gpu/vulkan/vulkan_device_queue.cc |
+++ b/gpu/vulkan/vulkan_device_queue.cc |
@@ -166,8 +166,8 @@ void VulkanDeviceQueue::Destroy() { |
vk_physical_device_ = VK_NULL_HANDLE; |
} |
-scoped_ptr<VulkanCommandPool> VulkanDeviceQueue::CreateCommandPool() { |
- scoped_ptr<VulkanCommandPool> command_pool(new VulkanCommandPool(this)); |
+std::unique_ptr<VulkanCommandPool> VulkanDeviceQueue::CreateCommandPool() { |
+ std::unique_ptr<VulkanCommandPool> command_pool(new VulkanCommandPool(this)); |
if (!command_pool->Initialize()) |
return nullptr; |