Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1344)

Unified Diff: Source/modules/speech/SpeechSynthesisEvent.h

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Events aren't on the heap by default yet; adjust member decl. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698