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

Unified Diff: Source/modules/speech/SpeechRecognitionResultList.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
Index: Source/modules/speech/SpeechRecognitionResultList.h
diff --git a/Source/modules/speech/SpeechRecognitionResultList.h b/Source/modules/speech/SpeechRecognitionResultList.h
index f209370a86c575959f731cca1c78dd33d294bcbc..24ca14720cb88ef0058db9c62b2c08bc3f3842e2 100644
--- a/Source/modules/speech/SpeechRecognitionResultList.h
+++ b/Source/modules/speech/SpeechRecognitionResultList.h
@@ -27,27 +27,23 @@
#define SpeechRecognitionResultList_h
#include "bindings/v8/ScriptWrappable.h"
-#include "heap/Handle.h"
#include "modules/speech/SpeechRecognitionResult.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
namespace WebCore {
-class SpeechRecognitionResultList : public RefCountedWillBeGarbageCollectedFinalized<SpeechRecognitionResultList>, public ScriptWrappable {
- DECLARE_GC_INFO;
+class SpeechRecognitionResultList : public ScriptWrappable, public RefCounted<SpeechRecognitionResultList> {
public:
- static PassRefPtrWillBeRawPtr<SpeechRecognitionResultList> create(const Vector<RefPtr<SpeechRecognitionResult> >&);
+ static PassRefPtr<SpeechRecognitionResultList> create(const Vector<RefPtr<SpeechRecognitionResult> >&);
unsigned long length() { return m_results.size(); }
SpeechRecognitionResult* item(unsigned long index);
- void trace(Visitor*);
-
private:
explicit SpeechRecognitionResultList(const Vector<RefPtr<SpeechRecognitionResult> >&);
- WillBeHeapVector<RefPtrWillBeMember<SpeechRecognitionResult> > m_results;
+ Vector<RefPtr<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