#include "config.h"
#include "modules/speech/SpeechSynthesisEvent.h"
-namespace WebCore {
+namespace blink {
-PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
+PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
{
- return adoptRef(new SpeechSynthesisEvent());
+ return adoptRefWillBeNoop(new SpeechSynthesisEvent);
}
-PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
+PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
{
- return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
+ return adoptRefWillBeNoop(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
}
SpeechSynthesisEvent::SpeechSynthesisEvent()
{
- ScriptWrappable::init(this);
}
SpeechSynthesisEvent::SpeechSynthesisEvent(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
, m_elapsedTime(elapsedTime)
, m_name(name)
{
- ScriptWrappable::init(this);
}
-} // namespace WebCore
+} // namespace blink