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

Unified Diff: Source/modules/speech/SpeechSynthesisUtterance.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/SpeechSynthesisUtterance.cpp
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.cpp b/Source/modules/speech/SpeechSynthesisUtterance.cpp
index 8f72d303280eff0be875e0449a10d887ef5a2986..b2af9d30bc26ccd9d9ab31b73cf69dc037ad5928 100644
--- a/Source/modules/speech/SpeechSynthesisUtterance.cpp
+++ b/Source/modules/speech/SpeechSynthesisUtterance.cpp
@@ -30,7 +30,7 @@ namespace WebCore {
SpeechSynthesisUtterance* SpeechSynthesisUtterance::create(ExecutionContext* context, const String& text)
{
- return adoptRefCountedGarbageCollected(new SpeechSynthesisUtterance(context, text));
+ return new SpeechSynthesisUtterance(context, text);
}
SpeechSynthesisUtterance::SpeechSynthesisUtterance(ExecutionContext* context, const String& text)

Powered by Google App Engine
This is Rietveld 408576698