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

Unified Diff: cc/output/delegating_renderer_unittest.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/output/delegating_renderer.cc ('k') | cc/output/direct_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/delegating_renderer_unittest.cc
diff --git a/cc/output/delegating_renderer_unittest.cc b/cc/output/delegating_renderer_unittest.cc
index 63b4e0c6df05cb37918a4416d6570263e7efbf67..ab88909ca5a60cfa7cf469a4595347809885903a 100644
--- a/cc/output/delegating_renderer_unittest.cc
+++ b/cc/output/delegating_renderer_unittest.cc
@@ -18,8 +18,8 @@ class DelegatingRendererTest : public LayerTreeTest {
DelegatingRendererTest() : LayerTreeTest(), output_surface_(NULL) {}
~DelegatingRendererTest() override {}
- scoped_ptr<OutputSurface> CreateOutputSurface() override {
- scoped_ptr<FakeOutputSurface> output_surface =
+ std::unique_ptr<OutputSurface> CreateOutputSurface() override {
+ std::unique_ptr<FakeOutputSurface> output_surface =
FakeOutputSurface::CreateDelegating3d();
output_surface_ = output_surface.get();
return std::move(output_surface);
« no previous file with comments | « cc/output/delegating_renderer.cc ('k') | cc/output/direct_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698