Index: Source/modules/webmidi/NavigatorWebMIDI.cpp |
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.cpp b/Source/modules/webmidi/NavigatorWebMIDI.cpp |
index 28ef63fa9779d9a88d7822c20f355132d8ca5e51..470a87abb5538388f1a5438ff840723a4e9cc44f 100644 |
--- a/Source/modules/webmidi/NavigatorWebMIDI.cpp |
+++ b/Source/modules/webmidi/NavigatorWebMIDI.cpp |
@@ -47,11 +47,13 @@ NavigatorWebMIDI::NavigatorWebMIDI(LocalFrame* frame) |
{ |
} |
-DEFINE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(NavigatorWebMIDI); |
+NavigatorWebMIDI::~NavigatorWebMIDI() |
+{ |
+} |
DEFINE_TRACE(NavigatorWebMIDI) |
{ |
- WillBeHeapSupplement<Navigator>::trace(visitor); |
+ HeapSupplement<Navigator>::trace(visitor); |
DOMWindowProperty::trace(visitor); |
} |
@@ -62,10 +64,10 @@ const char* NavigatorWebMIDI::supplementName() |
NavigatorWebMIDI& NavigatorWebMIDI::from(Navigator& navigator) |
{ |
- NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(WillBeHeapSupplement<Navigator>::from(navigator, supplementName())); |
+ NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(HeapSupplement<Navigator>::from(navigator, supplementName())); |
if (!supplement) { |
supplement = new NavigatorWebMIDI(navigator.frame()); |
- provideTo(navigator, supplementName(), adoptPtrWillBeNoop(supplement)); |
+ provideTo(navigator, supplementName(), supplement); |
} |
return *supplement; |
} |