Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(280)

Unified Diff: gpu/vulkan/vulkan_device_queue.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/vulkan/vulkan_device_queue.h ('k') | gpu/vulkan/vulkan_implementation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « gpu/vulkan/vulkan_device_queue.h ('k') | gpu/vulkan/vulkan_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698