Index: Source/modules/speech/SpeechSynthesisEvent.h |
diff --git a/Source/modules/speech/SpeechSynthesisEvent.h b/Source/modules/speech/SpeechSynthesisEvent.h |
index a85b670db734b002391538cfa0c4a7d7b2173fb4..9dfabb24e0f800f147375a6a502211a3ccbbaa8d 100644 |
--- a/Source/modules/speech/SpeechSynthesisEvent.h |
+++ b/Source/modules/speech/SpeechSynthesisEvent.h |
@@ -27,14 +27,13 @@ |
#define SpeechSynthesisEvent_h |
#include "modules/EventModules.h" |
-#include "wtf/PassRefPtr.h" |
namespace WebCore { |
class SpeechSynthesisEvent FINAL : public Event { |
public: |
- static PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> create(); |
- static PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name); |
+ static SpeechSynthesisEvent* create(); |
+ static SpeechSynthesisEvent* create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name); |
unsigned long charIndex() const { return m_charIndex; } |
float elapsedTime() const { return m_elapsedTime; } |
@@ -42,7 +41,10 @@ public: |
virtual const AtomicString& interfaceName() const OVERRIDE { return EventNames::SpeechSynthesisEvent; } |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor* visitor) OVERRIDE |
+ { |
+ Event::trace(visitor); |
+ } |
private: |
SpeechSynthesisEvent(); |