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

Side by Side Diff: content/renderer/pepper/ppb_graphics_3d_impl.h

Issue 1873783003: Convert //content/renderer from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // True if context is bound to instance. 91 // True if context is bound to instance.
92 bool bound_to_instance_; 92 bool bound_to_instance_;
93 // True when waiting for compositor to commit our backing texture. 93 // True when waiting for compositor to commit our backing texture.
94 bool commit_pending_; 94 bool commit_pending_;
95 95
96 gpu::Mailbox mailbox_; 96 gpu::Mailbox mailbox_;
97 gpu::SyncToken sync_token_; 97 gpu::SyncToken sync_token_;
98 bool has_alpha_; 98 bool has_alpha_;
99 scoped_refptr<gpu::GpuChannelHost> channel_; 99 scoped_refptr<gpu::GpuChannelHost> channel_;
100 scoped_ptr<gpu::CommandBufferProxyImpl> command_buffer_; 100 std::unique_ptr<gpu::CommandBufferProxyImpl> command_buffer_;
101 101
102 base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_; 102 base::WeakPtrFactory<PPB_Graphics3D_Impl> weak_ptr_factory_;
103 103
104 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl); 104 DISALLOW_COPY_AND_ASSIGN(PPB_Graphics3D_Impl);
105 }; 105 };
106 106
107 } // namespace content 107 } // namespace content
108 108
109 #endif // CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_ 109 #endif // CONTENT_RENDERER_PEPPER_PPB_GRAPHICS_3D_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/ppb_buffer_impl.cc ('k') | content/renderer/pepper/ppb_image_data_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698