Index: gpu/command_buffer/service/gpu_tracer_unittest.cc |
diff --git a/gpu/command_buffer/service/gpu_tracer_unittest.cc b/gpu/command_buffer/service/gpu_tracer_unittest.cc |
index 37bdb8ee8f76e4f96a25d1f2320a9af55197948d..30a663d899787ed75b92cf167a5544e7a979965d 100644 |
--- a/gpu/command_buffer/service/gpu_tracer_unittest.cc |
+++ b/gpu/command_buffer/service/gpu_tracer_unittest.cc |
@@ -49,7 +49,7 @@ class MockOutputter : public Outputter { |
class GlFakeQueries { |
public: |
- GlFakeQueries() {} |
+ GlFakeQueries() : alloced_queries_(), query_timestamp_() {} |
Nico
2015/02/13 19:42:51
You don't need this. The default constructors of c
Daniele Castagna
2015/02/13 19:46:44
Done.
|
void Reset() { |
current_time_ = 0; |
@@ -141,9 +141,9 @@ class GlFakeQueries { |
} |
protected: |
- bool disjointed_; |
- GLint64 current_time_; |
- GLuint next_query_id_; |
+ bool disjointed_ = false; |
+ GLint64 current_time_ = 0; |
+ GLuint next_query_id_ = 0; |
std::set<GLuint> alloced_queries_; |
std::map<GLuint, GLint64> query_timestamp_; |
}; |