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

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

Issue 6898026: Eliminate wstring from base/utf_offset_string_conversions.h, net/base/escape.h, and net/base/net_... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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/gtk/location_bar_view_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/location_bar_view_gtk.cc (revision 82762)
+++ chrome/browser/ui/gtk/location_bar_view_gtk.cc (working copy)
@@ -1367,13 +1367,6 @@
content_setting_image_model_->get_content_settings_type();
if (content_settings_type == CONTENT_SETTINGS_TYPE_PRERENDER)
return TRUE;
- GURL url = tab_contents->tab_contents()->GetURL();
- std::wstring display_host;
- net::AppendFormattedHost(url,
- UTF8ToWide(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)),
- &display_host,
- NULL, NULL);
-
content_setting_bubble_ = new ContentSettingBubbleGtk(
sender, this,
ContentSettingBubbleModel::CreateContentSettingBubbleModel(

Powered by Google App Engine
This is Rietveld 408576698