| Index: components/dom_distiller/core/distilled_page_prefs.cc
|
| diff --git a/components/dom_distiller/core/distilled_page_prefs.cc b/components/dom_distiller/core/distilled_page_prefs.cc
|
| index 35bf09444354849cb6df8e5f49b2e6e66e4124b6..cdd340ac3378d70723ac26240a0b2cfa1990fada 100644
|
| --- a/components/dom_distiller/core/distilled_page_prefs.cc
|
| +++ b/components/dom_distiller/core/distilled_page_prefs.cc
|
| @@ -115,17 +115,20 @@ void DistilledPagePrefs::RemoveObserver(Observer* obs) {
|
|
|
| void DistilledPagePrefs::NotifyOnChangeFontFamily(
|
| DistilledPagePrefs::FontFamily new_font_family) {
|
| - FOR_EACH_OBSERVER(Observer, observers_, OnChangeFontFamily(new_font_family));
|
| + for (Observer& observer : observers_)
|
| + observer.OnChangeFontFamily(new_font_family);
|
| }
|
|
|
| void DistilledPagePrefs::NotifyOnChangeTheme(
|
| DistilledPagePrefs::Theme new_theme) {
|
| - FOR_EACH_OBSERVER(Observer, observers_, OnChangeTheme(new_theme));
|
| + for (Observer& observer : observers_)
|
| + observer.OnChangeTheme(new_theme);
|
| }
|
|
|
| void DistilledPagePrefs::NotifyOnChangeFontScaling(
|
| float scaling) {
|
| - FOR_EACH_OBSERVER(Observer, observers_, OnChangeFontScaling(scaling));
|
| + for (Observer& observer : observers_)
|
| + observer.OnChangeFontScaling(scaling);
|
| }
|
|
|
| } // namespace dom_distiller
|
|
|