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

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

Issue 329853004: Remove RefCountedGarbageCollected from EventTarget objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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/SpeechSynthesis.cpp
diff --git a/Source/modules/speech/SpeechSynthesis.cpp b/Source/modules/speech/SpeechSynthesis.cpp
index 35560788f0929cb1f0307052ee753fe826cbc619..2eae52fb88ea0feac685d984a4647f28d137d82c 100644
--- a/Source/modules/speech/SpeechSynthesis.cpp
+++ b/Source/modules/speech/SpeechSynthesis.cpp
@@ -36,7 +36,7 @@ namespace WebCore {
SpeechSynthesis* SpeechSynthesis::create(ExecutionContext* context)
{
- return adoptRefCountedGarbageCollected(new SpeechSynthesis(context));
+ return new SpeechSynthesis(context);
}
SpeechSynthesis::SpeechSynthesis(ExecutionContext* context)

Powered by Google App Engine
This is Rietveld 408576698