| Index: webrtc/modules/utility/source/file_player.cc
|
| diff --git a/webrtc/modules/utility/source/file_player.cc b/webrtc/modules/utility/source/file_player.cc
|
| index 75b7214f5c8e79055f17312afd9bd8edc04651f9..bf6d26939fa21393384c2d72f9daef209be1121c 100644
|
| --- a/webrtc/modules/utility/source/file_player.cc
|
| +++ b/webrtc/modules/utility/source/file_player.cc
|
| @@ -371,7 +371,7 @@ int32_t FilePlayerImpl::SetUpAudioDecoder() {
|
|
|
| } // namespace
|
|
|
| -std::unique_ptr<FilePlayer> FilePlayer::NewFilePlayer(
|
| +std::unique_ptr<FilePlayer> FilePlayer::CreateFilePlayer(
|
| uint32_t instanceID,
|
| FileFormats fileFormat) {
|
| switch (fileFormat) {
|
| @@ -390,13 +390,4 @@ std::unique_ptr<FilePlayer> FilePlayer::NewFilePlayer(
|
| }
|
| }
|
|
|
| -FilePlayer* FilePlayer::CreateFilePlayer(uint32_t instanceID,
|
| - FileFormats fileFormat) {
|
| - return FilePlayer::NewFilePlayer(instanceID, fileFormat).release();
|
| -}
|
| -
|
| -void FilePlayer::DestroyFilePlayer(FilePlayer* player) {
|
| - delete player;
|
| -}
|
| -
|
| } // namespace webrtc
|
|
|