| Index: Source/core/speech/SpeechInputResult.cpp
|
| diff --git a/Source/core/speech/SpeechInputResult.cpp b/Source/core/speech/SpeechInputResult.cpp
|
| index 1673455fe4be00dd758c6f4c8c1075f95a9fa0a6..f21a7c34b80db647dc4af11f9f8bcdfa03432f0a 100644
|
| --- a/Source/core/speech/SpeechInputResult.cpp
|
| +++ b/Source/core/speech/SpeechInputResult.cpp
|
| @@ -30,14 +30,16 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<SpeechInputResult> SpeechInputResult::create(const String& utterance, double confidence)
|
| +DEFINE_GC_INFO(SpeechInputResult);
|
| +
|
| +PassRefPtrWillBeRawPtr<SpeechInputResult> SpeechInputResult::create(const String& utterance, double confidence)
|
| {
|
| - return adoptRef(new SpeechInputResult(utterance, confidence));
|
| + return adoptRefWillBeNoop(new SpeechInputResult(utterance, confidence));
|
| }
|
|
|
| -PassRefPtr<SpeechInputResult> SpeechInputResult::create(const SpeechInputResult& source)
|
| +PassRefPtrWillBeRawPtr<SpeechInputResult> SpeechInputResult::create(const RawPtr<SpeechInputResult>& source)
|
| {
|
| - return adoptRef(new SpeechInputResult(source.m_utterance, source.m_confidence));
|
| + return adoptRefWillBeNoop(new SpeechInputResult(source->m_utterance, source->m_confidence));
|
| }
|
|
|
| SpeechInputResult::SpeechInputResult(const String& utterance, double confidence)
|
|
|