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

Unified Diff: chrome/browser/ui/cocoa/search_engine_dialog_controller.mm

Issue 6291003: Revert 71485 - Remove wstring from TemplateURL and friends.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/search_engine_dialog_controller.mm
===================================================================
--- chrome/browser/ui/cocoa/search_engine_dialog_controller.mm (revision 71499)
+++ chrome/browser/ui/cocoa/search_engine_dialog_controller.mm (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -205,7 +205,7 @@
[logoView setEditable:NO];
// Tooltip text provides accessibility.
- [logoView setToolTip:base::SysUTF16ToNSString(engine->short_name())];
+ [logoView setToolTip:base::SysWideToNSString(engine->short_name())];
engineIdentifier = logoView;
} else {
// No logo -- we must show a text label.
@@ -224,7 +224,7 @@
paragraphStyle.get(), NSParagraphStyleAttributeName,
nil];
- NSString* value = base::SysUTF16ToNSString(engine->short_name());
+ NSString* value = base::SysWideToNSString(engine->short_name());
scoped_nsobject<NSAttributedString> attrValue(
[[NSAttributedString alloc] initWithString:value
attributes:attrs]);
« no previous file with comments | « chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm ('k') | chrome/browser/ui/cocoa/search_engine_list_model.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698