| Index: third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| diff --git a/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp b/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| index f0554b43be569b0c5dc84e625b649ce0737c69ab..7407b88dbd08be5c465def608a990a057662c53d 100644
|
| --- a/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| +++ b/third_party/WebKit/Source/modules/audio_output_devices/HTMLMediaElementAudioOutputDevice.cpp
|
| @@ -28,7 +28,7 @@ private:
|
| SetSinkIdResolver(ScriptState*, HTMLMediaElement&, const String& sinkId);
|
| void timerFired(Timer<SetSinkIdResolver>*);
|
|
|
| - RefPtrWillBeMember<HTMLMediaElement> m_element;
|
| + Member<HTMLMediaElement> m_element;
|
| String m_sinkId;
|
| Timer<SetSinkIdResolver> m_timer;
|
| };
|
| @@ -117,17 +117,17 @@ const char* HTMLMediaElementAudioOutputDevice::supplementName()
|
|
|
| HTMLMediaElementAudioOutputDevice& HTMLMediaElementAudioOutputDevice::from(HTMLMediaElement& element)
|
| {
|
| - HTMLMediaElementAudioOutputDevice* supplement = static_cast<HTMLMediaElementAudioOutputDevice*>(WillBeHeapSupplement<HTMLMediaElement>::from(element, supplementName()));
|
| + HTMLMediaElementAudioOutputDevice* supplement = static_cast<HTMLMediaElementAudioOutputDevice*>(HeapSupplement<HTMLMediaElement>::from(element, supplementName()));
|
| if (!supplement) {
|
| supplement = new HTMLMediaElementAudioOutputDevice();
|
| - provideTo(element, supplementName(), adoptPtrWillBeNoop(supplement));
|
| + provideTo(element, supplementName(), (supplement));
|
| }
|
| return *supplement;
|
| }
|
|
|
| DEFINE_TRACE(HTMLMediaElementAudioOutputDevice)
|
| {
|
| - WillBeHeapSupplement<HTMLMediaElement>::trace(visitor);
|
| + HeapSupplement<HTMLMediaElement>::trace(visitor);
|
| }
|
|
|
| } // namespace blink
|
|
|