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

Unified Diff: third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClient.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
Index: third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClient.cpp
diff --git a/third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClient.cpp b/third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClient.cpp
index b8acbabad904fb62d24a72c6847d268b91ca428d..4120e62c255be05fdc81590c582e8aa056a4b18e 100644
--- a/third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClient.cpp
+++ b/third_party/WebKit/Source/modules/audio_output_devices/AudioOutputDeviceClient.cpp
@@ -24,10 +24,10 @@ AudioOutputDeviceClient* AudioOutputDeviceClient::from(ExecutionContext* context
if (!document->frame() || !document->frame()->isLocalFrame())
return nullptr;
- return static_cast<AudioOutputDeviceClient*>(WillBeHeapSupplement<LocalFrame>::from(document->frame(), supplementName()));
+ return static_cast<AudioOutputDeviceClient*>(HeapSupplement<LocalFrame>::from(document->frame(), supplementName()));
}
-void provideAudioOutputDeviceClientTo(LocalFrame& frame, PassOwnPtrWillBeRawPtr<AudioOutputDeviceClient> client)
+void provideAudioOutputDeviceClientTo(LocalFrame& frame, RawPtr<AudioOutputDeviceClient> client)
{
frame.provideSupplement(AudioOutputDeviceClient::supplementName(), client);
}

Powered by Google App Engine
This is Rietveld 408576698