| Index: extensions/browser/script_executor.cc
|
| diff --git a/extensions/browser/script_executor.cc b/extensions/browser/script_executor.cc
|
| index 105889c3121ab97e6a23ad4c9d5f370df28808ad..db2c02da3031784a258f5e4abb7ac972cee8d177 100644
|
| --- a/extensions/browser/script_executor.cc
|
| +++ b/extensions/browser/script_executor.cc
|
| @@ -168,9 +168,8 @@ class Handler : public content::WebContentsObserver {
|
| host_id_.type() == HostID::EXTENSIONS) {
|
| ScriptExecutionObserver::ExecutingScriptsMap id_map;
|
| id_map[host_id_.id()] = std::set<std::string>();
|
| - FOR_EACH_OBSERVER(
|
| - ScriptExecutionObserver, *script_observers_,
|
| - OnScriptsExecuted(web_contents(), id_map, root_frame_url_));
|
| + for (auto& observer : *script_observers_)
|
| + observer.OnScriptsExecuted(web_contents(), id_map, root_frame_url_);
|
| }
|
|
|
| if (!callback_.is_null())
|
|
|