summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/audio_input_resource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/audio_input_resource.cc')
-rw-r--r--ppapi/proxy/audio_input_resource.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ppapi/proxy/audio_input_resource.cc b/ppapi/proxy/audio_input_resource.cc
index 5f700ec..4f321c2 100644
--- a/ppapi/proxy/audio_input_resource.cc
+++ b/ppapi/proxy/audio_input_resource.cc
@@ -217,7 +217,10 @@ void AudioInputResource::SetStreamInfo(
shared_memory_size_ = shared_memory_size;
if (!shared_memory_->Map(shared_memory_size_)) {
- PpapiGlobals::Get()->LogWithSource(pp_instance(), PP_LOGLEVEL_WARNING, "",
+ PpapiGlobals::Get()->LogWithSource(
+ pp_instance(),
+ PP_LOGLEVEL_WARNING,
+ std::string(),
"Failed to map shared memory for PPB_AudioInput_Shared.");
}