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

Unified Diff: Source/modules/speech/SpeechSynthesisUtterance.h

Issue 339823003: Oilpan: move platform speech objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Trace SpeechRecognition's controller reference. 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
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | Source/modules/speech/SpeechSynthesisUtterance.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechSynthesisUtterance.h
diff --git a/Source/modules/speech/SpeechSynthesisUtterance.h b/Source/modules/speech/SpeechSynthesisUtterance.h
index fea86980577d1895b4a763c82354b6114380490b..c1eb9817ae092b9fe6c0c145c866b4ed48edf6d7 100644
--- a/Source/modules/speech/SpeechSynthesisUtterance.h
+++ b/Source/modules/speech/SpeechSynthesisUtterance.h
@@ -38,7 +38,7 @@ namespace WebCore {
class SpeechSynthesisUtterance FINAL : public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<SpeechSynthesisUtterance>, public PlatformSpeechSynthesisUtteranceClient, public ScriptWrappable, public ContextLifecycleObserver, public EventTargetWithInlineData {
DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(RefCountedGarbageCollected<SpeechSynthesisUtterance>);
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesisUtterance);
+ USING_GARBAGE_COLLECTED_MIXIN(SpeechSynthesisUtterance);
public:
static SpeechSynthesisUtterance* create(ExecutionContext*, const String&);
@@ -75,13 +75,13 @@ public:
virtual ExecutionContext* executionContext() const OVERRIDE;
- PlatformSpeechSynthesisUtterance* platformUtterance() const { return m_platformUtterance.get(); }
+ PlatformSpeechSynthesisUtterance* platformUtterance() const { return m_platformUtterance; }
virtual void trace(Visitor*) OVERRIDE;
private:
SpeechSynthesisUtterance(ExecutionContext*, const String&);
- RefPtr<PlatformSpeechSynthesisUtterance> m_platformUtterance;
+ Member<PlatformSpeechSynthesisUtterance> m_platformUtterance;
Member<SpeechSynthesisVoice> m_voice;
// EventTarget
« no previous file with comments | « Source/modules/speech/SpeechSynthesis.cpp ('k') | Source/modules/speech/SpeechSynthesisUtterance.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698