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

Unified Diff: cc/output/vulkan_in_process_context_provider.h

Issue 1866203004: Convert //cc from scoped_ptr to std::unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptrcc: rebase 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 | « cc/output/texture_mailbox_deleter_unittest.cc ('k') | cc/output/vulkan_in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/vulkan_in_process_context_provider.h
diff --git a/cc/output/vulkan_in_process_context_provider.h b/cc/output/vulkan_in_process_context_provider.h
index da2d0e032674a6b5c7bfa0e014f34a86e5b2f580..3f3de6161e621a71da7258650f2653420e59bef5 100644
--- a/cc/output/vulkan_in_process_context_provider.h
+++ b/cc/output/vulkan_in_process_context_provider.h
@@ -5,7 +5,8 @@
#ifndef CC_OUTPUT_VULKAN_IN_PROCESS_CONTEXT_PROVIDER_H_
#define CC_OUTPUT_VULKAN_IN_PROCESS_CONTEXT_PROVIDER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "cc/base/cc_export.h"
#include "cc/output/vulkan_context_provider.h"
@@ -29,7 +30,7 @@ class CC_EXPORT VulkanInProcessContextProvider : public VulkanContextProvider {
~VulkanInProcessContextProvider() override;
private:
- scoped_ptr<gpu::VulkanDeviceQueue> device_queue_;
+ std::unique_ptr<gpu::VulkanDeviceQueue> device_queue_;
};
} // namespace cc
« no previous file with comments | « cc/output/texture_mailbox_deleter_unittest.cc ('k') | cc/output/vulkan_in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698