Index: chrome/common/gpu_messages.cc |
diff --git a/chrome/common/gpu_messages.cc b/chrome/common/gpu_messages.cc |
index 5e0baceb97037144c3b0d9a7f2934335e037db50..1128ce5fa54799bb94dd64e218a0d6de78d9dad9 100644 |
--- a/chrome/common/gpu_messages.cc |
+++ b/chrome/common/gpu_messages.cc |
@@ -149,20 +149,20 @@ void ParamTraits<GPUInfo> ::Write(Message* m, const param_type& p) { |
} |
bool ParamTraits<GPUInfo> ::Read(const Message* m, void** iter, param_type* p) { |
- int32 level; |
+ int32 level = 0; // clang pr9122 |
base::TimeDelta initialization_time; |
- uint32 vendor_id; |
- uint32 device_id; |
+ uint32 vendor_id = 0; // clang pr9122 |
+ uint32 device_id = 0; // clang pr9122 |
std::string driver_vendor; |
std::string driver_version; |
- uint32 pixel_shader_version; |
- uint32 vertex_shader_version; |
- uint32 gl_version; |
+ uint32 pixel_shader_version = 0; // clang pr9122 |
+ uint32 vertex_shader_version = 0; // clang pr9122 |
+ uint32 gl_version = 0; // clang pr9122 |
std::string gl_version_string; |
std::string gl_vendor; |
std::string gl_renderer; |
std::string gl_extensions; |
- bool can_lose_context; |
+ bool can_lose_context = false; // clang pr9122 |
bool ret = ReadParam(m, iter, &level); |
ret = ret && ReadParam(m, iter, &initialization_time); |
ret = ret && ReadParam(m, iter, &vendor_id); |