Index: chrome/browser/ui/navigation_correction_tab_observer.cc |
diff --git a/chrome/browser/ui/navigation_correction_tab_observer.cc b/chrome/browser/ui/navigation_correction_tab_observer.cc |
index de87c7c78e5fe03dd462832225f4a1bb80d87ca1..6ae211f7bc17caded8085c4dfa433d7af6e8c808 100644 |
--- a/chrome/browser/ui/navigation_correction_tab_observer.cc |
+++ b/chrome/browser/ui/navigation_correction_tab_observer.cc |
@@ -6,6 +6,7 @@ |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/chrome_notification_types.h" |
+#include "chrome/browser/google/google_profile_helper.h" |
#include "chrome/browser/google/google_url_tracker_factory.h" |
#include "chrome/browser/google/google_util.h" |
#include "chrome/browser/profiles/profile.h" |
@@ -91,8 +92,12 @@ void NavigationCorrectionTabObserver::UpdateNavigationCorrectionInfo( |
RenderViewHost* rvh) { |
RenderFrameHost* rfh = rvh->GetMainFrame(); |
rfh->Send(new ChromeViewMsg_SetNavigationCorrectionInfo( |
- rfh->GetRoutingID(), GetNavigationCorrectionURL(), |
+ rfh->GetRoutingID(), |
+ GetNavigationCorrectionURL(), |
google_util::GetGoogleLocale(), |
- google_util::GetGoogleCountryCode(profile_), google_apis::GetAPIKey(), |
- google_util::GetGoogleSearchURL(profile_))); |
+ google_util::GetGoogleCountryCode( |
+ google_profile_helper::GetGoogleHomePageURL(profile_)), |
+ google_apis::GetAPIKey(), |
+ google_util::GetGoogleSearchURL( |
+ google_profile_helper::GetGoogleHomePageURL(profile_)))); |
} |