| Index: chrome/browser/profiles/profile_impl.cc
|
| diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc
|
| index 069c314d9eca0f93a22328d3e513dddf6cfc5afb..d582c3a9fc6f7e04a68d9d457823af23a3379d8b 100644
|
| --- a/chrome/browser/profiles/profile_impl.cc
|
| +++ b/chrome/browser/profiles/profile_impl.cc
|
| @@ -79,7 +79,6 @@
|
| #include "chrome/common/chrome_paths_internal.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/chrome_version_info.h"
|
| -#include "chrome/common/net/url_fixer_upper.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/bookmarks/browser/bookmark_model.h"
|
| @@ -87,6 +86,7 @@
|
| #include "components/keyed_service/content/browser_context_dependency_manager.h"
|
| #include "components/pref_registry/pref_registry_syncable.h"
|
| #include "components/startup_metric_utils/startup_metric_utils.h"
|
| +#include "components/url_fixer/url_fixer.h"
|
| #include "components/user_prefs/user_prefs.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/dom_storage_context.h"
|
| @@ -1268,7 +1268,8 @@ GURL ProfileImpl::GetHomePage() {
|
|
|
| base::FilePath browser_directory;
|
| PathService::Get(base::DIR_CURRENT, &browser_directory);
|
| - GURL home_page(URLFixerUpper::FixupRelativeFile(browser_directory,
|
| + GURL home_page(url_fixer::FixupRelativeFile(
|
| + browser_directory,
|
| command_line.GetSwitchValuePath(switches::kHomePage)));
|
| if (home_page.is_valid())
|
| return home_page;
|
| @@ -1276,9 +1277,8 @@ GURL ProfileImpl::GetHomePage() {
|
|
|
| if (GetPrefs()->GetBoolean(prefs::kHomePageIsNewTabPage))
|
| return GURL(chrome::kChromeUINewTabURL);
|
| - GURL home_page(URLFixerUpper::FixupURL(
|
| - GetPrefs()->GetString(prefs::kHomePage),
|
| - std::string()));
|
| + GURL home_page(url_fixer::FixupURL(GetPrefs()->GetString(prefs::kHomePage),
|
| + std::string()));
|
| if (!home_page.is_valid())
|
| return GURL(chrome::kChromeUINewTabURL);
|
| return home_page;
|
|
|