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

Unified Diff: gpu/command_buffer/service/framebuffer_manager_unittest.cc

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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 | « gpu/command_buffer/service/framebuffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/framebuffer_manager_unittest.cc
diff --git a/gpu/command_buffer/service/framebuffer_manager_unittest.cc b/gpu/command_buffer/service/framebuffer_manager_unittest.cc
index c3538c592d7daf7555f8c1896302860803957bf9..0d7f898e44e02bc8391c107994fe005518b2113d 100644
--- a/gpu/command_buffer/service/framebuffer_manager_unittest.cc
+++ b/gpu/command_buffer/service/framebuffer_manager_unittest.cc
@@ -61,8 +61,8 @@ class FramebufferManagerTest : public GpuServiceTest {
protected:
FramebufferManager manager_;
scoped_refptr<FeatureInfo> feature_info_;
- scoped_ptr<TextureManager> texture_manager_;
- scoped_ptr<RenderbufferManager> renderbuffer_manager_;
+ std::unique_ptr<TextureManager> texture_manager_;
+ std::unique_ptr<RenderbufferManager> renderbuffer_manager_;
};
TEST_F(FramebufferManagerTest, Basic) {
@@ -158,10 +158,10 @@ class FramebufferInfoTestBase : public GpuServiceTest {
FramebufferManager manager_;
Framebuffer* framebuffer_;
scoped_refptr<FeatureInfo> feature_info_;
- scoped_ptr<TextureManager> texture_manager_;
- scoped_ptr<RenderbufferManager> renderbuffer_manager_;
- scoped_ptr<MockErrorState> error_state_;
- scoped_ptr<MockGLES2Decoder> decoder_;
+ std::unique_ptr<TextureManager> texture_manager_;
+ std::unique_ptr<RenderbufferManager> renderbuffer_manager_;
+ std::unique_ptr<MockErrorState> error_state_;
+ std::unique_ptr<MockGLES2Decoder> decoder_;
};
class FramebufferInfoTest : public FramebufferInfoTestBase {
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698