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

Unified Diff: ui/compositor/test/in_process_context_provider.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
Index: ui/compositor/test/in_process_context_provider.h
diff --git a/ui/compositor/test/in_process_context_provider.h b/ui/compositor/test/in_process_context_provider.h
index 5e0447c56acc03fde3a6e4b20e271a1a87f93c3f..1bc2cc393f22f5f3c246806e7630a723730d1d4d 100644
--- a/ui/compositor/test/in_process_context_provider.h
+++ b/ui/compositor/test/in_process_context_provider.h
@@ -7,10 +7,10 @@
#include <stdint.h>
+#include <memory>
#include <string>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "base/threading/thread_checker.h"
#include "cc/output/context_provider.h"
@@ -69,7 +69,7 @@ class InProcessContextProvider : public cc::ContextProvider {
base::ThreadChecker main_thread_checker_;
base::ThreadChecker context_thread_checker_;
- scoped_ptr<gpu::GLInProcessContext> context_;
+ std::unique_ptr<gpu::GLInProcessContext> context_;
skia::RefPtr<class GrContext> gr_context_;
gpu::gles2::ContextCreationAttribHelper attribs_;
« no previous file with comments | « ui/compositor/test/in_process_context_factory.cc ('k') | ui/compositor/test/test_compositor_host_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698