| Index: Source/modules/speech/SpeechRecognitionAlternative.h
|
| diff --git a/Source/modules/speech/SpeechRecognitionAlternative.h b/Source/modules/speech/SpeechRecognitionAlternative.h
|
| index e6280a963e8f50670b10c086dc3a3790f88dd2d9..464fe9e276e55c1839128720679955974880448b 100644
|
| --- a/Source/modules/speech/SpeechRecognitionAlternative.h
|
| +++ b/Source/modules/speech/SpeechRecognitionAlternative.h
|
| @@ -27,7 +27,6 @@
|
| #define SpeechRecognitionAlternative_h
|
|
|
| #include "bindings/v8/ScriptWrappable.h"
|
| -#include "heap/Handle.h"
|
| #include "wtf/RefCounted.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| @@ -35,15 +34,12 @@
|
|
|
| class ExecutionContext;
|
|
|
| -class SpeechRecognitionAlternative : public RefCountedWillBeGarbageCollectedFinalized<SpeechRecognitionAlternative>, public ScriptWrappable {
|
| - DECLARE_GC_INFO;
|
| +class SpeechRecognitionAlternative : public ScriptWrappable, public RefCounted<SpeechRecognitionAlternative> {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SpeechRecognitionAlternative> create(const String&, double);
|
| + static PassRefPtr<SpeechRecognitionAlternative> create(const String&, double);
|
|
|
| const String& transcript() const { return m_transcript; }
|
| double confidence() const { return m_confidence; }
|
| -
|
| - void trace(Visitor*) { }
|
|
|
| private:
|
| SpeechRecognitionAlternative(const String&, double);
|
|
|