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

Unified Diff: gpu/command_buffer/service/buffer_manager.h

Issue 3743001: FBTF: Fix more ctor/dtors found by clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Rebase to pick up mac fix on ToT Created 10 years, 2 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/common/id_allocator.cc ('k') | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/buffer_manager.h
diff --git a/gpu/command_buffer/service/buffer_manager.h b/gpu/command_buffer/service/buffer_manager.h
index f89faebdb5363bee1db3bf50bd0ed18e80c5d54f..86f6bb876dc369c3d9b18751bab42be87cf30f1e 100644
--- a/gpu/command_buffer/service/buffer_manager.h
+++ b/gpu/command_buffer/service/buffer_manager.h
@@ -27,12 +27,7 @@ class BufferManager {
public:
typedef scoped_refptr<BufferInfo> Ref;
- explicit BufferInfo(GLuint service_id)
- : service_id_(service_id),
- target_(0),
- size_(0),
- shadowed_(false) {
- }
+ explicit BufferInfo(GLuint service_id);
GLuint service_id() const {
return service_id_;
@@ -91,7 +86,7 @@ class BufferManager {
GLenum type_;
};
- ~BufferInfo() { }
+ ~BufferInfo();
GLenum target() const {
return target_;
@@ -140,9 +135,7 @@ class BufferManager {
RangeToMaxValueMap range_set_;
};
- BufferManager()
- : allow_buffers_on_multiple_targets_(false) {
- }
+ BufferManager();
~BufferManager();
// Must call before destruction.
« no previous file with comments | « gpu/command_buffer/common/id_allocator.cc ('k') | gpu/command_buffer/service/buffer_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698