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

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

Issue 139803012: Move speech module over to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make SpeechSynthesisVoice GC-finalized 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/SpeechSynthesisVoice.cpp
diff --git a/Source/modules/speech/SpeechSynthesisVoice.cpp b/Source/modules/speech/SpeechSynthesisVoice.cpp
index 4f6658569a8e70f09e6525f6224c28ce82d7f9e0..c59bc0c579a3434e025d41d38bd8c0d007cba2d2 100644
--- a/Source/modules/speech/SpeechSynthesisVoice.cpp
+++ b/Source/modules/speech/SpeechSynthesisVoice.cpp
@@ -28,9 +28,11 @@
namespace WebCore {
-PassRefPtr<SpeechSynthesisVoice> SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice)
+DEFINE_GC_INFO(SpeechSynthesisVoice);
+
+PassRefPtrWillBeRawPtr<SpeechSynthesisVoice> SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice)
{
- return adoptRef(new SpeechSynthesisVoice(voice));
+ return adoptRefWillBeNoop(new SpeechSynthesisVoice(voice));
}
SpeechSynthesisVoice::SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice> voice)

Powered by Google App Engine
This is Rietveld 408576698