Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4709)

Unified Diff: chrome/browser/ui/browser.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
}
}
« no previous file with comments | « chrome/browser/ui/bookmarks/bookmark_utils.cc ('k') | chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698