Index: Source/modules/speech/SpeechGrammar.h |
diff --git a/Source/modules/speech/SpeechGrammar.h b/Source/modules/speech/SpeechGrammar.h |
index 32b2f40d8e62b52d60236f05f1feb4741738fb1d..5a0da9132f35de0376168dc6d2ceeff781607860 100644 |
--- a/Source/modules/speech/SpeechGrammar.h |
+++ b/Source/modules/speech/SpeechGrammar.h |
@@ -29,17 +29,16 @@ |
#include "bindings/v8/ScriptWrappable.h" |
#include "platform/heap/Handle.h" |
#include "platform/weborigin/KURL.h" |
-#include "wtf/RefCounted.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
class ExecutionContext; |
-class SpeechGrammar : public RefCountedWillBeGarbageCollectedFinalized<SpeechGrammar>, public ScriptWrappable { |
+class SpeechGrammar FINAL : public GarbageCollectedFinalized<SpeechGrammar>, public ScriptWrappable { |
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 SpeechGrammar* create(); // FIXME: The spec is not clear on what the constructor should look like. |
+ static SpeechGrammar* create(const KURL& src, double weight); |
const KURL& src(ExecutionContext*) const { return m_src; } |
const KURL& src() const { return m_src; } |