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

Unified Diff: ui/compositor/compositor_vsync_manager.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 | « remoting/host/linux/audio_pipe_reader.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor_vsync_manager.cc
diff --git a/ui/compositor/compositor_vsync_manager.cc b/ui/compositor/compositor_vsync_manager.cc
index 1a10d4ad30965904482b28bedf1d6427d730a12c..17336e6198672006b76b217dd7e04b84d4fffa5f 100644
--- a/ui/compositor/compositor_vsync_manager.cc
+++ b/ui/compositor/compositor_vsync_manager.cc
@@ -55,9 +55,8 @@ void CompositorVSyncManager::RemoveObserver(Observer* observer) {
void CompositorVSyncManager::NotifyObservers(base::TimeTicks timebase,
base::TimeDelta interval) {
observer_list_->Notify(
- &CompositorVSyncManager::Observer::OnUpdateVSyncParameters,
- timebase,
- interval);
+ FROM_HERE, &CompositorVSyncManager::Observer::OnUpdateVSyncParameters,
+ timebase, interval);
}
} // namespace ui
« no previous file with comments | « remoting/host/linux/audio_pipe_reader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698