Index: gpu/command_buffer/service/program_manager.cc |
diff --git a/gpu/command_buffer/service/program_manager.cc b/gpu/command_buffer/service/program_manager.cc |
index f0c9141e6d5353a261aacacb2d17bb3878a703ba..cda16d44fd97f1662cb7737d7a556a420639704d 100644 |
--- a/gpu/command_buffer/service/program_manager.cc |
+++ b/gpu/command_buffer/service/program_manager.cc |
@@ -95,7 +95,10 @@ bool GetUniformNameSansElement( |
} // anonymous namespace. |
ProgramManager::ProgramInfo::UniformInfo::UniformInfo() |
- : size(0) { |
+ : size(0), |
+ type(GL_NONE), |
+ fake_location_base(0), |
+ is_array(false) { |
} |
ProgramManager::ProgramInfo::UniformInfo::UniformInfo( |
@@ -237,7 +240,7 @@ void ProgramManager::ProgramInfo::ClearUniforms( |
namespace { |
struct UniformData { |
- UniformData() : size(-1), type(GL_NONE), added(false) { |
+ UniformData() : size(-1), type(GL_NONE), location(0), added(false) { |
} |
std::string queried_name; |
std::string corrected_name; |