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

Unified Diff: cc/test/test_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/test/test_hooks.cc ('k') | cc/test/test_in_process_context_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_in_process_context_provider.h
diff --git a/cc/test/test_in_process_context_provider.h b/cc/test/test_in_process_context_provider.h
index 33034201c8db8bcff8310057abb3d755b14386d5..3205cc25db8436a846fabdfadfc28d045a486fcd 100644
--- a/cc/test/test_in_process_context_provider.h
+++ b/cc/test/test_in_process_context_provider.h
@@ -21,8 +21,8 @@ class GLInProcessContext;
namespace cc {
-scoped_ptr<gpu::GLInProcessContext> CreateTestInProcessContext();
-scoped_ptr<gpu::GLInProcessContext> CreateTestInProcessContext(
+std::unique_ptr<gpu::GLInProcessContext> CreateTestInProcessContext();
+std::unique_ptr<gpu::GLInProcessContext> CreateTestInProcessContext(
TestGpuMemoryBufferManager* gpu_memory_buffer_manager,
TestImageFactory* image_factory,
gpu::GLInProcessContext* shared_context);
@@ -51,7 +51,7 @@ class TestInProcessContextProvider : public ContextProvider {
private:
TestGpuMemoryBufferManager gpu_memory_buffer_manager_;
TestImageFactory image_factory_;
- scoped_ptr<gpu::GLInProcessContext> context_;
+ std::unique_ptr<gpu::GLInProcessContext> context_;
skia::RefPtr<class GrContext> gr_context_;
base::Lock context_lock_;
};
« no previous file with comments | « cc/test/test_hooks.cc ('k') | cc/test/test_in_process_context_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698