Index: Source/modules/speech/SpeechGrammar.h |
diff --git a/Source/modules/speech/SpeechGrammar.h b/Source/modules/speech/SpeechGrammar.h |
index 2f3cab5c16a08501ae7d3bb0ca7b3fed6ded96db..e7bff2a37af6ae6a79bd5771e235c14ec852cf9b 100644 |
--- a/Source/modules/speech/SpeechGrammar.h |
+++ b/Source/modules/speech/SpeechGrammar.h |
@@ -27,7 +27,6 @@ |
#define SpeechGrammar_h |
#include "bindings/v8/ScriptWrappable.h" |
-#include "heap/Handle.h" |
#include "platform/weborigin/KURL.h" |
#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
@@ -36,11 +35,10 @@ |
class ExecutionContext; |
-class SpeechGrammar : public RefCountedWillBeGarbageCollectedFinalized<SpeechGrammar>, public ScriptWrappable { |
- DECLARE_GC_INFO; |
+class SpeechGrammar : public ScriptWrappable, public RefCounted<SpeechGrammar> { |
public: |
- static PassRefPtrWillBeRawPtr<SpeechGrammar> create(); // FIXME: The spec is not clear on what the constructor should look like. |
- static PassRefPtrWillBeRawPtr<SpeechGrammar> create(const KURL& src, double weight); |
+ static PassRefPtr<SpeechGrammar> create(); // FIXME: The spec is not clear on what the constructor should look like. |
+ static PassRefPtr<SpeechGrammar> create(const KURL& src, double weight); |
const KURL& src(ExecutionContext*) const { return m_src; } |
const KURL& src() const { return m_src; } |
@@ -48,8 +46,6 @@ |
double weight() const { return m_weight; } |
void setWeight(double weight) { m_weight = weight; } |
- |
- void trace(Visitor*) { } |
private: |
SpeechGrammar(); |