| Index: components/exo/surface.cc
|
| diff --git a/components/exo/surface.cc b/components/exo/surface.cc
|
| index 5f22ec6fd64ad5a361039368515743886f0a1530..8c0efb7909a8aede879c2c828d69e6f4c72479b5 100644
|
| --- a/components/exo/surface.cc
|
| +++ b/components/exo/surface.cc
|
| @@ -225,7 +225,8 @@ Surface::Surface()
|
|
|
| Surface::~Surface() {
|
| aura::Env::GetInstance()->context_factory()->RemoveObserver(this);
|
| - FOR_EACH_OBSERVER(SurfaceObserver, observers_, OnSurfaceDestroying(this));
|
| + for (SurfaceObserver& observer : observers_)
|
| + observer.OnSurfaceDestroying(this);
|
|
|
| window_->layer()->SetShowSolidColorContent();
|
|
|
|
|