Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 297de4df16e9988eb2132ecb50db26fe36061c5f..b9fa2c022fa39f95c2f76ef242b30d1bb5f7cc44 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -1632,10 +1632,8 @@ void Browser::UpdateTargetURL(WebContents* source, const GURL& url) { |
if (!GetStatusBubble()) |
return; |
- if (source == tab_strip_model_->GetActiveWebContents()) { |
- PrefService* prefs = profile_->GetPrefs(); |
- GetStatusBubble()->SetURL(url, prefs->GetString(prefs::kAcceptLanguages)); |
- } |
+ if (source == tab_strip_model_->GetActiveWebContents()) |
+ GetStatusBubble()->SetURL(url); |
} |
void Browser::ContentsMouseEvent(WebContents* source, |
@@ -1651,7 +1649,7 @@ void Browser::ContentsMouseEvent(WebContents* source, |
if (source == tab_strip_model_->GetActiveWebContents()) { |
GetStatusBubble()->MouseMoved(location, exited); |
if (exited) |
- GetStatusBubble()->SetURL(GURL(), std::string()); |
+ GetStatusBubble()->SetURL(GURL()); |
} |
} |