| Index: chrome/common/render_messages_params.cc
|
| diff --git a/chrome/common/render_messages_params.cc b/chrome/common/render_messages_params.cc
|
| index a57b076439bca112aaa16a7d629e7e52585f6a3e..b0ee44a2535eb458ab65bec009c19feedbfbde2c 100644
|
| --- a/chrome/common/render_messages_params.cc
|
| +++ b/chrome/common/render_messages_params.cc
|
| @@ -136,8 +136,7 @@ ViewHostMsg_DidPrintPage_Params::ViewHostMsg_DidPrintPage_Params()
|
| ViewHostMsg_DidPrintPage_Params::~ViewHostMsg_DidPrintPage_Params() {
|
| }
|
|
|
| -ViewHostMsg_Audio_CreateStream_Params::ViewHostMsg_Audio_CreateStream_Params()
|
| - : packet_size(0) {
|
| +ViewHostMsg_Audio_CreateStream_Params::ViewHostMsg_Audio_CreateStream_Params() {
|
| }
|
|
|
| ViewHostMsg_Audio_CreateStream_Params::
|
| @@ -1096,7 +1095,7 @@ void ParamTraits<ViewHostMsg_Audio_CreateStream_Params>::Write(
|
| WriteParam(m, p.params.channels);
|
| WriteParam(m, p.params.sample_rate);
|
| WriteParam(m, p.params.bits_per_sample);
|
| - WriteParam(m, p.packet_size);
|
| + WriteParam(m, p.params.samples_per_packet);
|
| }
|
|
|
| bool ParamTraits<ViewHostMsg_Audio_CreateStream_Params>::Read(const Message* m,
|
| @@ -1107,7 +1106,7 @@ bool ParamTraits<ViewHostMsg_Audio_CreateStream_Params>::Read(const Message* m,
|
| ReadParam(m, iter, &p->params.channels) &&
|
| ReadParam(m, iter, &p->params.sample_rate) &&
|
| ReadParam(m, iter, &p->params.bits_per_sample) &&
|
| - ReadParam(m, iter, &p->packet_size);
|
| + ReadParam(m, iter, &p->params.samples_per_packet);
|
| }
|
|
|
| void ParamTraits<ViewHostMsg_Audio_CreateStream_Params>::Log(
|
| @@ -1122,7 +1121,7 @@ void ParamTraits<ViewHostMsg_Audio_CreateStream_Params>::Log(
|
| l->append(", ");
|
| LogParam(p.params.bits_per_sample, l);
|
| l->append(", ");
|
| - LogParam(p.packet_size, l);
|
| + LogParam(p.params.samples_per_packet, l);
|
| l->append(")");
|
| }
|
|
|
|
|