| Index: gpu/ipc/gpu_command_buffer_traits.cc
|
| diff --git a/gpu/ipc/gpu_command_buffer_traits.cc b/gpu/ipc/gpu_command_buffer_traits.cc
|
| index 8d2148de0f7842d9741cbb61ba6fed3f18450810..ed43cd29d57dd8cee214057921d25b3bb426af61 100644
|
| --- a/gpu/ipc/gpu_command_buffer_traits.cc
|
| +++ b/gpu/ipc/gpu_command_buffer_traits.cc
|
| @@ -115,11 +115,11 @@ bool ParamTraits<gpu::ValueState> ::Read(const Message* m,
|
|
|
| void ParamTraits<gpu::ValueState>::Log(const param_type& p, std::string* l) {
|
| l->append("<ValueState (");
|
| - for (size_t i = 0; i < sizeof(p.int_value); ++i)
|
| - *l += base::StringPrintf("%i ", p.int_value[i]);
|
| + for (int value : p.int_value)
|
| + *l += base::StringPrintf("%i ", value);
|
| l->append(" int values ");
|
| - for (size_t i = 0; i < sizeof(p.float_value); ++i)
|
| - *l += base::StringPrintf("%f ", p.float_value[i]);
|
| + for (float value : p.float_value)
|
| + *l += base::StringPrintf("%f ", value);
|
| l->append(" float values)>");
|
| }
|
|
|
|
|