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

Unified Diff: Source/modules/speech/SpeechGrammarList.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/SpeechGrammar.idl ('k') | Source/modules/speech/SpeechGrammarList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechGrammarList.h
diff --git a/Source/modules/speech/SpeechGrammarList.h b/Source/modules/speech/SpeechGrammarList.h
index 1c512906dd1acae00b0a493a529d539956bd1630..9b6f4499c6b968fe7f4c5e92d3094be26250e4d9 100644
--- a/Source/modules/speech/SpeechGrammarList.h
+++ b/Source/modules/speech/SpeechGrammarList.h
@@ -29,16 +29,14 @@
#include "bindings/v8/ScriptWrappable.h"
#include "modules/speech/SpeechGrammar.h"
#include "platform/heap/Handle.h"
-#include "wtf/RefCounted.h"
-#include "wtf/Vector.h"
namespace WebCore {
class ExecutionContext;
-class SpeechGrammarList : public RefCountedWillBeGarbageCollectedFinalized<SpeechGrammarList>, public ScriptWrappable {
+class SpeechGrammarList : public GarbageCollectedFinalized<SpeechGrammarList>, public ScriptWrappable {
public:
- static PassRefPtrWillBeRawPtr<SpeechGrammarList> create();
+ static SpeechGrammarList* create();
unsigned long length() const { return m_grammars.size(); }
SpeechGrammar* item(unsigned long) const;
@@ -51,7 +49,7 @@ public:
private:
SpeechGrammarList();
- WillBeHeapVector<RefPtrWillBeMember<SpeechGrammar> > m_grammars;
+ HeapVector<Member<SpeechGrammar> > m_grammars;
};
} // namespace WebCore
« no previous file with comments | « Source/modules/speech/SpeechGrammar.idl ('k') | Source/modules/speech/SpeechGrammarList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698