summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp')
-rw-r--r--chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp b/chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
index 3b0992b047b..c051e1732fd 100644
--- a/chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
+++ b/chromium/third_party/WebKit/Source/modules/speech/SpeechGrammar.cpp
@@ -31,14 +31,14 @@
namespace WebCore {
-PassRefPtr<SpeechGrammar> SpeechGrammar::create()
+SpeechGrammar* SpeechGrammar::create()
{
- return adoptRef(new SpeechGrammar);
+ return new SpeechGrammar;
}
-PassRefPtr<SpeechGrammar> SpeechGrammar::create(const KURL& src, double weight)
+SpeechGrammar* SpeechGrammar::create(const KURL& src, double weight)
{
- return adoptRef(new SpeechGrammar(src, weight));
+ return new SpeechGrammar(src, weight);
}
void SpeechGrammar::setSrc(ExecutionContext* executionContext, const String& src)