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

Unified Diff: chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm

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/cocoa/location_bar/content_setting_decoration.mm
===================================================================
--- chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm (revision 82762)
+++ chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm (working copy)
@@ -260,13 +260,6 @@
if (content_settings_type == CONTENT_SETTINGS_TYPE_PRERENDER)
return true;
- GURL url = tabContents->tab_contents()->GetURL();
- std::wstring displayHost;
- net::AppendFormattedHost(
- url,
- UTF8ToWide(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)),
- &displayHost, NULL, NULL);
-
// Find point for bubble's arrow in screen coordinates.
// TODO(shess): |owner_| is only being used to fetch |field|.
// Consider passing in |control_view|. Or refactoring to be

Powered by Google App Engine
This is Rietveld 408576698