| Index: chrome/browser/ui/webui/settings/font_handler.cc
|
| diff --git a/chrome/browser/ui/webui/settings/font_handler.cc b/chrome/browser/ui/webui/settings/font_handler.cc
|
| index 954f7f6633fec953e84f59e2901b6d5f9472684a..abd118e6a53d26a316f0695e4f09f2ddaee58f86 100644
|
| --- a/chrome/browser/ui/webui/settings/font_handler.cc
|
| +++ b/chrome/browser/ui/webui/settings/font_handler.cc
|
| @@ -16,7 +16,6 @@
|
| #include "chrome/browser/extensions/extension_tab_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser_finder.h"
|
| -#include "chrome/browser/ui/webui/options/font_settings_utils.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "components/prefs/pref_service.h"
|
| #include "content/public/browser/font_list_async.h"
|
| @@ -25,6 +24,10 @@
|
| #include "extensions/browser/extension_system.h"
|
| #include "extensions/common/extension_urls.h"
|
|
|
| +#if defined(OS_MACOSX)
|
| +#include "chrome/browser/ui/webui/settings_utils.h"
|
| +#endif
|
| +
|
| namespace {
|
|
|
| const char kAdvancedFontSettingsExtensionId[] =
|
| @@ -38,8 +41,10 @@ FontHandler::FontHandler(content::WebUI* webui)
|
| : extension_registry_observer_(this),
|
| profile_(Profile::FromWebUI(webui)),
|
| weak_ptr_factory_(this) {
|
| +#if defined(OS_MACOSX)
|
| // Perform validation for saved fonts.
|
| - options::FontSettingsUtilities::ValidateSavedFonts(profile_->GetPrefs());
|
| + settings_utils::ValidateSavedFonts(profile_->GetPrefs());
|
| +#endif
|
| }
|
|
|
| FontHandler::~FontHandler() {}
|
|
|