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

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

Issue 307433003: Oilpan: Allocate all EventTarget derived types on the manged heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 7 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/notifications/Notification.h ('k') | Source/modules/speech/SpeechRecognition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognition.h
diff --git a/Source/modules/speech/SpeechRecognition.h b/Source/modules/speech/SpeechRecognition.h
index c682b61c90933ef4fa0a991ad25a73a6fd1dc9d5..9bc5a793f1930046223df0c76ea0c0d4c567217a 100644
--- a/Source/modules/speech/SpeechRecognition.h
+++ b/Source/modules/speech/SpeechRecognition.h
@@ -45,7 +45,8 @@ class SpeechRecognitionController;
class SpeechRecognitionError;
class SpeechRecognition FINAL : public RefCountedWillBeRefCountedGarbageCollected<SpeechRecognition>, public ScriptWrappable, public ActiveDOMObject, public EventTargetWithInlineData {
- DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<SpeechRecognition>);
+ REFCOUNTED_EVENT_TARGET(SpeechRecognition);
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SpeechRecognition);
public:
static PassRefPtrWillBeRawPtr<SpeechRecognition> create(ExecutionContext*);
virtual ~SpeechRecognition();
@@ -100,7 +101,7 @@ public:
DEFINE_ATTRIBUTE_EVENT_LISTENER(start);
DEFINE_ATTRIBUTE_EVENT_LISTENER(end);
- void trace(Visitor*);
+ virtual void trace(Visitor*) OVERRIDE;
private:
friend class RefCounted<SpeechRecognition>;
« no previous file with comments | « Source/modules/notifications/Notification.h ('k') | Source/modules/speech/SpeechRecognition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698