summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_audio_shared.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/shared_impl/ppb_audio_shared.cc')
-rw-r--r--ppapi/shared_impl/ppb_audio_shared.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/ppapi/shared_impl/ppb_audio_shared.cc b/ppapi/shared_impl/ppb_audio_shared.cc
index f6d0cac..f275559 100644
--- a/ppapi/shared_impl/ppb_audio_shared.cc
+++ b/ppapi/shared_impl/ppb_audio_shared.cc
@@ -80,11 +80,8 @@ void PPB_Audio_Shared::SetStreamInfo(
if (!shared_memory_->Map(
media::TotalSharedMemorySizeInBytes(shared_memory_size_))) {
- PpapiGlobals::Get()->LogWithSource(
- instance,
- PP_LOGLEVEL_WARNING,
- std::string(),
- "Failed to map shared memory for PPB_Audio_Shared.");
+ PpapiGlobals::Get()->LogWithSource(instance, PP_LOGLEVEL_WARNING, "",
+ "Failed to map shared memory for PPB_Audio_Shared.");
} else {
audio_bus_ = media::AudioBus::WrapMemory(
kChannels, sample_frame_count, shared_memory_->memory());