| Index: Source/modules/speech/SpeechSynthesisVoice.cpp
|
| diff --git a/Source/modules/speech/SpeechSynthesisVoice.cpp b/Source/modules/speech/SpeechSynthesisVoice.cpp
|
| index b42514cd27ec8d3c2e207a4c6813d6a4e5244d22..45e0d12363be1218736d335b666d5738dfac7670 100644
|
| --- a/Source/modules/speech/SpeechSynthesisVoice.cpp
|
| +++ b/Source/modules/speech/SpeechSynthesisVoice.cpp
|
| @@ -28,9 +28,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -SpeechSynthesisVoice* SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice)
|
| +PassRefPtrWillBeRawPtr<SpeechSynthesisVoice> SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice)
|
| {
|
| - return new SpeechSynthesisVoice(voice);
|
| + return adoptRefWillBeNoop(new SpeechSynthesisVoice(voice));
|
| }
|
|
|
| SpeechSynthesisVoice::SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice> voice)
|
|
|