Index: Source/modules/webmidi/NavigatorWebMIDI.cpp |
diff --git a/Source/modules/webmidi/NavigatorWebMIDI.cpp b/Source/modules/webmidi/NavigatorWebMIDI.cpp |
index 6ba4c9a92d9e9f07ef70dd480a1b21acc1e37336..03263b3aff62219a9da539caf24106408038ca54 100644 |
--- a/Source/modules/webmidi/NavigatorWebMIDI.cpp |
+++ b/Source/modules/webmidi/NavigatorWebMIDI.cpp |
@@ -55,10 +55,10 @@ const char* NavigatorWebMIDI::supplementName() |
NavigatorWebMIDI& NavigatorWebMIDI::from(Navigator& navigator) |
{ |
- NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(Supplement<Navigator>::from(navigator, supplementName())); |
+ NavigatorWebMIDI* supplement = static_cast<NavigatorWebMIDI*>(WillBeHeapSupplement<Navigator>::from(navigator, supplementName())); |
if (!supplement) { |
supplement = new NavigatorWebMIDI(navigator.frame()); |
- provideTo(navigator, supplementName(), adoptPtr(supplement)); |
+ provideTo(navigator, supplementName(), adoptPtrWillBeNoop(supplement)); |
} |
return *supplement; |
} |