| Index: chrome/browser/chromeos/cros/speech_synthesis_library.cc
|
| diff --git a/chrome/browser/chromeos/cros/speech_synthesis_library.cc b/chrome/browser/chromeos/cros/speech_synthesis_library.cc
|
| index 9dc797ef2b682acaf148359e6f0d8fb0f67842bc..1102f946312929f2911df1ac6232fe85324f4500 100644
|
| --- a/chrome/browser/chromeos/cros/speech_synthesis_library.cc
|
| +++ b/chrome/browser/chromeos/cros/speech_synthesis_library.cc
|
| @@ -66,10 +66,12 @@ class SpeechSynthesisLibraryStubImpl : public SpeechSynthesisLibrary {
|
|
|
| // static
|
| SpeechSynthesisLibrary* SpeechSynthesisLibrary::GetImpl(bool stub) {
|
| + SpeechSynthesisLibrary* impl;
|
| if (stub)
|
| - return new SpeechSynthesisLibraryStubImpl();
|
| + impl = new SpeechSynthesisLibraryStubImpl();
|
| else
|
| - return new SpeechSynthesisLibraryImpl();
|
| + impl = new SpeechSynthesisLibraryImpl();
|
| + return impl;
|
| }
|
|
|
| } // namespace chromeos
|
|
|