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

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

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.cpp
diff --git a/Source/modules/speech/SpeechSynthesisEvent.cpp b/Source/modules/speech/SpeechSynthesisEvent.cpp
index 5082c8f4ee110e5ce5374167f5fe5a03e7626b7c..5b4d0f3344cf4b7a2263532562a369842a9b626b 100644
--- a/Source/modules/speech/SpeechSynthesisEvent.cpp
+++ b/Source/modules/speech/SpeechSynthesisEvent.cpp
@@ -28,14 +28,14 @@
namespace WebCore {
-PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
+SpeechSynthesisEvent* SpeechSynthesisEvent::create()
{
- return adoptRefWillBeNoop(new SpeechSynthesisEvent());
+ return new SpeechSynthesisEvent;
}
-PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
+SpeechSynthesisEvent* SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
{
- return adoptRefWillBeNoop(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
+ return new SpeechSynthesisEvent(type, charIndex, elapsedTime, name);
}
SpeechSynthesisEvent::SpeechSynthesisEvent()
@@ -52,9 +52,4 @@ SpeechSynthesisEvent::SpeechSynthesisEvent(const AtomicString& type, unsigned lo
ScriptWrappable::init(this);
}
-void SpeechSynthesisEvent::trace(Visitor* visitor)
-{
- Event::trace(visitor);
-}
-
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698