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

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

Issue 163493003: Revert of Move speech module over to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/modules/speech/SpeechSynthesisUtterance.idl ('k') | Source/modules/speech/SpeechSynthesisVoice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechSynthesisVoice.h
diff --git a/Source/modules/speech/SpeechSynthesisVoice.h b/Source/modules/speech/SpeechSynthesisVoice.h
index fc2d7e794049a87db9040aace73a92084bff2aa1..21d17960e50a50214ca5ce3c0632ce7dc490c260 100644
--- a/Source/modules/speech/SpeechSynthesisVoice.h
+++ b/Source/modules/speech/SpeechSynthesisVoice.h
@@ -27,7 +27,6 @@
#define SpeechSynthesisVoice_h
#include "bindings/v8/ScriptWrappable.h"
-#include "heap/Handle.h"
#include "platform/speech/PlatformSpeechSynthesisVoice.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
@@ -35,10 +34,9 @@
namespace WebCore {
-class SpeechSynthesisVoice FINAL : public RefCountedWillBeGarbageCollectedFinalized<SpeechSynthesisVoice>, public ScriptWrappable {
- DECLARE_GC_INFO;
+class SpeechSynthesisVoice FINAL : public ScriptWrappable, public RefCounted<SpeechSynthesisVoice> {
public:
- static PassRefPtrWillBeRawPtr<SpeechSynthesisVoice> create(PassRefPtr<PlatformSpeechSynthesisVoice>);
+ static PassRefPtr<SpeechSynthesisVoice> create(PassRefPtr<PlatformSpeechSynthesisVoice>);
const String& voiceURI() const { return m_platformVoice->voiceURI(); }
const String& name() const { return m_platformVoice->name(); }
@@ -47,8 +45,6 @@
bool isDefault() const { return m_platformVoice->isDefault(); }
PlatformSpeechSynthesisVoice* platformVoice() const { return m_platformVoice.get(); }
-
- void trace(Visitor*) { }
private:
explicit SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice>);
« no previous file with comments | « Source/modules/speech/SpeechSynthesisUtterance.idl ('k') | Source/modules/speech/SpeechSynthesisVoice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698