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

Unified Diff: gpu/vulkan/vulkan_command_pool.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_buffer.h ('k') | gpu/vulkan/vulkan_command_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/vulkan/vulkan_command_pool.h
diff --git a/gpu/vulkan/vulkan_command_pool.h b/gpu/vulkan/vulkan_command_pool.h
index 5b763ef5801b222d63f06bfaf40d24f0ee7c0287..b54d5917c2eee5079c94e7275ef7e91f942808d5 100644
--- a/gpu/vulkan/vulkan_command_pool.h
+++ b/gpu/vulkan/vulkan_command_pool.h
@@ -7,8 +7,9 @@
#include <vulkan/vulkan.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace gpu {
@@ -23,8 +24,8 @@ class VulkanCommandPool {
bool Initialize();
void Destroy();
- scoped_ptr<VulkanCommandBuffer> CreatePrimaryCommandBuffer();
- scoped_ptr<VulkanCommandBuffer> CreateSecondaryCommandBuffer();
+ std::unique_ptr<VulkanCommandBuffer> CreatePrimaryCommandBuffer();
+ std::unique_ptr<VulkanCommandBuffer> CreateSecondaryCommandBuffer();
VkCommandPool handle() { return handle_; }
« no previous file with comments | « gpu/vulkan/vulkan_command_buffer.h ('k') | gpu/vulkan/vulkan_command_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698