| Index: Source/web/WebSpeechRecognitionResult.cpp
|
| diff --git a/Source/web/WebSpeechRecognitionResult.cpp b/Source/web/WebSpeechRecognitionResult.cpp
|
| index bedf8b7e6f0751738d906168f06671851ce59811..165cfe02afda7d96eca4e7fc973ed62f4e62d9ba 100644
|
| --- a/Source/web/WebSpeechRecognitionResult.cpp
|
| +++ b/Source/web/WebSpeechRecognitionResult.cpp
|
| @@ -26,20 +26,10 @@
|
| #include "config.h"
|
| #include "WebSpeechRecognitionResult.h"
|
|
|
| -#include "heap/Handle.h"
|
| #include "modules/speech/SpeechRecognitionAlternative.h"
|
| #include "modules/speech/SpeechRecognitionResult.h"
|
| #include "wtf/PassRefPtr.h"
|
| -#include "wtf/RawPtr.h"
|
| -#include "wtf/RefPtr.h"
|
| #include "wtf/Vector.h"
|
| -
|
| -// Move them into WebCore for the benefit of template aliases.
|
| -namespace WebCore {
|
| -using WTF::RawPtr;
|
| -using WTF::RefPtr;
|
| -using WTF::Vector;
|
| -};
|
|
|
| namespace blink {
|
|
|
| @@ -52,7 +42,7 @@
|
| {
|
| ASSERT(transcripts.size() == confidences.size());
|
|
|
| - WebCore::WillBeHeapVector<WebCore::RefPtrWillBeMember<WebCore::SpeechRecognitionAlternative> > alternatives(transcripts.size());
|
| + Vector<RefPtr<WebCore::SpeechRecognitionAlternative> > alternatives(transcripts.size());
|
| for (size_t i = 0; i < transcripts.size(); ++i)
|
| alternatives[i] = WebCore::SpeechRecognitionAlternative::create(transcripts[i], confidences[i]);
|
|
|
|
|