| Index: ui/snapshot/screenshot_grabber.cc
|
| diff --git a/ui/snapshot/screenshot_grabber.cc b/ui/snapshot/screenshot_grabber.cc
|
| index ebccaaec342ee6d821c737c3ba8f6dba3412dbec..7b35748a699bc48e26f954197e07ba9ce8095eab 100644
|
| --- a/ui/snapshot/screenshot_grabber.cc
|
| +++ b/ui/snapshot/screenshot_grabber.cc
|
| @@ -187,8 +187,8 @@ void ScreenshotGrabber::NotifyScreenshotCompleted(
|
| #if defined(USE_AURA)
|
| cursor_hider_.reset();
|
| #endif
|
| - FOR_EACH_OBSERVER(ScreenshotGrabberObserver, observers_,
|
| - OnScreenshotCompleted(screenshot_result, screenshot_path));
|
| + for (ScreenshotGrabberObserver& observer : observers_)
|
| + observer.OnScreenshotCompleted(screenshot_result, screenshot_path);
|
| }
|
|
|
| void ScreenshotGrabber::AddObserver(ScreenshotGrabberObserver* observer) {
|
|
|