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

Unified Diff: gpu/vulkan/vulkan_device_queue.h

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_command_pool.cc ('k') | gpu/vulkan/vulkan_device_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_device_queue.h
diff --git a/gpu/vulkan/vulkan_device_queue.h b/gpu/vulkan/vulkan_device_queue.h
index 59d3e96039fe78f7f164f3abf2ab87d5a282c325..ecb1724b4dd8e3ff810f38f10e77b8ceb0436802 100644
--- a/gpu/vulkan/vulkan_device_queue.h
+++ b/gpu/vulkan/vulkan_device_queue.h
@@ -7,9 +7,10 @@
#include <vulkan/vulkan.h>
+#include <memory>
+
#include "base/logging.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "gpu/vulkan/vulkan_export.h"
namespace gpu {
@@ -47,7 +48,7 @@ class VULKAN_EXPORT VulkanDeviceQueue {
uint32_t GetVulkanQueueIndex() const { return vk_queue_index_; }
- scoped_ptr<gpu::VulkanCommandPool> CreateCommandPool();
+ std::unique_ptr<gpu::VulkanCommandPool> CreateCommandPool();
private:
VkPhysicalDevice vk_physical_device_ = VK_NULL_HANDLE;
« no previous file with comments | « gpu/vulkan/vulkan_command_pool.cc ('k') | gpu/vulkan/vulkan_device_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698