| Index: ppapi/proxy/host_dispatcher.cc
|
| diff --git a/ppapi/proxy/host_dispatcher.cc b/ppapi/proxy/host_dispatcher.cc
|
| index 5d61429fa4b0f3f6d75b033401af8dbaae7637cc..a5fdfcaf1c946872329b3ccf3243c7aec3d06983 100644
|
| --- a/ppapi/proxy/host_dispatcher.cc
|
| +++ b/ppapi/proxy/host_dispatcher.cc
|
| @@ -156,11 +156,11 @@ bool HostDispatcher::Send(IPC::Message* msg) {
|
| // destroys the plugin module and in turn the dispatcher.
|
| ScopedModuleReference scoped_ref(this);
|
|
|
| - FOR_EACH_OBSERVER(SyncMessageStatusObserver, sync_status_observer_list_,
|
| - BeginBlockOnSyncMessage());
|
| + for (auto& observer : sync_status_observer_list_)
|
| + observer.BeginBlockOnSyncMessage();
|
| bool result = Dispatcher::Send(msg);
|
| - FOR_EACH_OBSERVER(SyncMessageStatusObserver, sync_status_observer_list_,
|
| - EndBlockOnSyncMessage());
|
| + for (auto& observer : sync_status_observer_list_)
|
| + observer.EndBlockOnSyncMessage();
|
|
|
| return result;
|
| } else {
|
|
|