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

Unified Diff: Source/modules/webmidi/MIDIPort.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/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIPort.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIPort.h
diff --git a/Source/modules/webmidi/MIDIPort.h b/Source/modules/webmidi/MIDIPort.h
index e8c5a59ff0c6de3671ab6519dcfc0b7e7288da48..96d3085e5ec857b19b64ef7fbf6d304cd663108e 100644
--- a/Source/modules/webmidi/MIDIPort.h
+++ b/Source/modules/webmidi/MIDIPort.h
@@ -43,7 +43,8 @@ namespace WebCore {
class MIDIAccess;
class MIDIPort : public RefCountedWillBeRefCountedGarbageCollected<MIDIPort>, public ScriptWrappable, public EventTargetWithInlineData {
- DEFINE_EVENT_TARGET_REFCOUNTING(RefCountedWillBeRefCountedGarbageCollected<MIDIPort>);
+ REFCOUNTED_EVENT_TARGET(MIDIPort);
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIPort);
public:
enum MIDIPortTypeCode {
MIDIPortTypeInput,
@@ -60,7 +61,7 @@ public:
MIDIAccess* midiAccess() const { return m_access; }
- virtual void trace(Visitor*);
+ virtual void trace(Visitor*) OVERRIDE;
DEFINE_ATTRIBUTE_EVENT_LISTENER(disconnect);
« no previous file with comments | « Source/modules/webmidi/MIDIAccess.cpp ('k') | Source/modules/webmidi/MIDIPort.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698