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

Unified Diff: cc/test/test_context_provider.cc

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_context_provider.h ('k') | cc/test/test_gpu_memory_buffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_context_provider.cc
diff --git a/cc/test/test_context_provider.cc b/cc/test/test_context_provider.cc
index fd67a99c0bff7a5c0951412ee939b61094890440..9ac2ba527cb451233585ad64b64e1a869cb739aa 100644
--- a/cc/test/test_context_provider.cc
+++ b/cc/test/test_context_provider.cc
@@ -40,14 +40,14 @@ scoped_refptr<TestContextProvider> TestContextProvider::CreateWorker() {
// static
scoped_refptr<TestContextProvider> TestContextProvider::Create(
- scoped_ptr<TestWebGraphicsContext3D> context) {
+ std::unique_ptr<TestWebGraphicsContext3D> context) {
if (!context)
return NULL;
return new TestContextProvider(std::move(context));
}
TestContextProvider::TestContextProvider(
- scoped_ptr<TestWebGraphicsContext3D> context)
+ std::unique_ptr<TestWebGraphicsContext3D> context)
: context3d_(std::move(context)),
context_gl_(new TestGLES2Interface(context3d_.get())),
bound_(false),
« no previous file with comments | « cc/test/test_context_provider.h ('k') | cc/test/test_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698