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

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

Powered by Google App Engine
This is Rietveld 408576698