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

Unified Diff: Source/modules/speech/SpeechRecognitionResultList.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
Index: Source/modules/speech/SpeechRecognitionResultList.h
diff --git a/Source/modules/speech/SpeechRecognitionResultList.h b/Source/modules/speech/SpeechRecognitionResultList.h
index 9ff6e8f8cfe0608a4dfcf0f97ce8149564f35f82..79338dd9b39861515b876a87aaf23b6bf4c7a9d0 100644
--- a/Source/modules/speech/SpeechRecognitionResultList.h
+++ b/Source/modules/speech/SpeechRecognitionResultList.h
@@ -29,14 +29,12 @@
#include "bindings/v8/ScriptWrappable.h"
#include "modules/speech/SpeechRecognitionResult.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
-#include "wtf/Vector.h"
namespace WebCore {
-class SpeechRecognitionResultList : public RefCountedWillBeGarbageCollectedFinalized<SpeechRecognitionResultList>, public ScriptWrappable {
+class SpeechRecognitionResultList : public GarbageCollectedFinalized<SpeechRecognitionResultList>, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<SpeechRecognitionResultList> create(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> >&);
+ static SpeechRecognitionResultList* create(const HeapVector<Member<SpeechRecognitionResult> >&);
unsigned long length() { return m_results.size(); }
SpeechRecognitionResult* item(unsigned long index);
@@ -44,9 +42,9 @@ public:
void trace(Visitor*);
private:
- explicit SpeechRecognitionResultList(const WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> >&);
+ explicit SpeechRecognitionResultList(const HeapVector<Member<SpeechRecognitionResult> >&);
- WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> > m_results;
+ HeapVector<Member<SpeechRecognitionResult> > m_results;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/speech/SpeechRecognitionResult.idl ('k') | Source/modules/speech/SpeechRecognitionResultList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698