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