| Index: content/browser/speech/google_streaming_remote_engine_unittest.cc
|
| diff --git a/content/browser/speech/google_streaming_remote_engine_unittest.cc b/content/browser/speech/google_streaming_remote_engine_unittest.cc
|
| index 0f17fa054f5509e54d032fb926945894c964eb20..c3d7ce5c4e1be68ae49b3a3c6150b8b486a5a15b 100644
|
| --- a/content/browser/speech/google_streaming_remote_engine_unittest.cc
|
| +++ b/content/browser/speech/google_streaming_remote_engine_unittest.cc
|
| @@ -333,12 +333,12 @@ TEST_F(GoogleStreamingRemoteEngineTest, Stability) {
|
| }
|
|
|
| TEST_F(GoogleStreamingRemoteEngineTest, SendPreamble) {
|
| - const int kPreambleLength = 100;
|
| + const size_t kPreambleLength = 100;
|
| scoped_refptr<SpeechRecognitionSessionPreamble> preamble =
|
| new SpeechRecognitionSessionPreamble();
|
| preamble->sample_rate = 16000;
|
| preamble->sample_depth = 2;
|
| - preamble->sample_data = std::string(kPreambleLength, 0);
|
| + preamble->sample_data.assign(kPreambleLength, 0);
|
| SpeechRecognitionEngine::Config config;
|
| config.auth_token = "foo";
|
| config.auth_scope = "bar";
|
|
|