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

Unified Diff: remoting/host/linux/audio_pipe_reader.cc

Issue 877993003: Pass FROM_HERE to ObserverListThreadSafe::Notify to improve profile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « net/cert/nss_cert_database.cc ('k') | ui/compositor/compositor_vsync_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/linux/audio_pipe_reader.cc
diff --git a/remoting/host/linux/audio_pipe_reader.cc b/remoting/host/linux/audio_pipe_reader.cc
index 88d099895b22baea27e67f4129ccd1ebcc80d009..cd293f57f00bf415bb6ccec3e94b787130cecb23 100644
--- a/remoting/host/linux/audio_pipe_reader.cc
+++ b/remoting/host/linux/audio_pipe_reader.cc
@@ -193,7 +193,7 @@ void AudioPipeReader::DoCapture() {
// Dispatch asynchronous notification to the stream observers.
scoped_refptr<base::RefCountedString> data_ref =
base::RefCountedString::TakeString(&data);
- observers_->Notify(&StreamObserver::OnDataRead, data_ref);
+ observers_->Notify(FROM_HERE, &StreamObserver::OnDataRead, data_ref);
}
void AudioPipeReader::WaitForPipeReadable() {
« no previous file with comments | « net/cert/nss_cert_database.cc ('k') | ui/compositor/compositor_vsync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698