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

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

Issue 185393006: Revert "Add [WillBeGarbageCollected] to Event.idl" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 bcc8d16eb06370ce6766a0f770e86980f408b6fb..c35e4310fa675c340ea0f977d36419167c8d5a9b 100644
--- a/Source/modules/speech/SpeechSynthesisEvent.cpp
+++ b/Source/modules/speech/SpeechSynthesisEvent.cpp
@@ -28,14 +28,14 @@
namespace WebCore {
-PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
+PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesisEvent());
+ return adoptRef(new SpeechSynthesisEvent());
}
-PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
+PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
{
- return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
+ return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
}
SpeechSynthesisEvent::SpeechSynthesisEvent()

Powered by Google App Engine
This is Rietveld 408576698