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

Unified Diff: Source/modules/webmidi/MIDIController.h

Issue 255983003: Oilpan: Move all supplements of Page, Document, and WorkerClients to the managed heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: using namespace WebCore Created 6 years, 8 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/webdatabase/DatabaseClient.cpp ('k') | Source/modules/webmidi/MIDIController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webmidi/MIDIController.h
diff --git a/Source/modules/webmidi/MIDIController.h b/Source/modules/webmidi/MIDIController.h
index 995f5c7bfe5ee397bb66382ed86be0bb5ee9933c..3d3a7a32ff9324913fd93a5216d32f32f1290254 100644
--- a/Source/modules/webmidi/MIDIController.h
+++ b/Source/modules/webmidi/MIDIController.h
@@ -39,16 +39,17 @@ namespace WebCore {
class MIDIAccess;
class MIDIClient;
-class MIDIController FINAL : public Supplement<Page> {
+class MIDIController FINAL : public NoBaseWillBeGarbageCollectedFinalized<MIDIController>, public WillBeHeapSupplement<Page> {
+ WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MIDIController);
public:
virtual ~MIDIController();
void requestSysexPermission(PassRefPtrWillBeRawPtr<MIDIAccess>);
void cancelSysexPermissionRequest(MIDIAccess*);
- static PassOwnPtr<MIDIController> create(PassOwnPtr<MIDIClient>);
+ static PassOwnPtrWillBeRawPtr<MIDIController> create(PassOwnPtr<MIDIClient>);
static const char* supplementName();
- static MIDIController* from(Page* page) { return static_cast<MIDIController*>(Supplement<Page>::from(page, supplementName())); }
+ static MIDIController* from(Page* page) { return static_cast<MIDIController*>(WillBeHeapSupplement<Page>::from(page, supplementName())); }
virtual void trace(Visitor*) OVERRIDE { }
« no previous file with comments | « Source/modules/webdatabase/DatabaseClient.cpp ('k') | Source/modules/webmidi/MIDIController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698