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

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

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased 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/SpeechRecognition.idl ('k') | Source/modules/speech/SpeechRecognitionAlternative.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognitionAlternative.h
diff --git a/Source/modules/speech/SpeechRecognitionAlternative.h b/Source/modules/speech/SpeechRecognitionAlternative.h
index 8a0b5587e28acef4c637120dcb13e02f0fb6cfde..1cffc074abdb4bb6f1428b1678f99fa84afc142a 100644
--- a/Source/modules/speech/SpeechRecognitionAlternative.h
+++ b/Source/modules/speech/SpeechRecognitionAlternative.h
@@ -28,16 +28,15 @@
#include "bindings/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace WebCore {
class ExecutionContext;
-class SpeechRecognitionAlternative : public RefCountedWillBeGarbageCollectedFinalized<SpeechRecognitionAlternative>, public ScriptWrappable {
+class SpeechRecognitionAlternative : public GarbageCollectedFinalized<SpeechRecognitionAlternative>, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<SpeechRecognitionAlternative> create(const String&, double);
+ static SpeechRecognitionAlternative* create(const String&, double);
const String& transcript() const { return m_transcript; }
double confidence() const { return m_confidence; }
« no previous file with comments | « Source/modules/speech/SpeechRecognition.idl ('k') | Source/modules/speech/SpeechRecognitionAlternative.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698