Index: Source/modules/speech/SpeechGrammar.cpp |
diff --git a/Source/modules/speech/SpeechGrammar.cpp b/Source/modules/speech/SpeechGrammar.cpp |
index eaf63b64625ebf10a79a2f798207a25b9e50bdc2..3b0992b047bf0f7511ba25304bfe2074e48de4eb 100644 |
--- a/Source/modules/speech/SpeechGrammar.cpp |
+++ b/Source/modules/speech/SpeechGrammar.cpp |
@@ -31,16 +31,14 @@ |
namespace WebCore { |
-DEFINE_GC_INFO(SpeechGrammar); |
- |
-PassRefPtrWillBeRawPtr<SpeechGrammar> SpeechGrammar::create() |
+PassRefPtr<SpeechGrammar> SpeechGrammar::create() |
{ |
- return adoptRefWillBeNoop(new SpeechGrammar); |
+ return adoptRef(new SpeechGrammar); |
} |
-PassRefPtrWillBeRawPtr<SpeechGrammar> SpeechGrammar::create(const KURL& src, double weight) |
+PassRefPtr<SpeechGrammar> SpeechGrammar::create(const KURL& src, double weight) |
{ |
- return adoptRefWillBeNoop(new SpeechGrammar(src, weight)); |
+ return adoptRef(new SpeechGrammar(src, weight)); |
} |
void SpeechGrammar::setSrc(ExecutionContext* executionContext, const String& src) |