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

Unified Diff: printing/print_settings_initializer_mac.cc

Issue 7967004: printing: Convert some wstrings to string16s. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « printing/print_settings_initializer_gtk.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings_initializer_mac.cc
===================================================================
--- printing/print_settings_initializer_mac.cc (revision 101780)
+++ printing/print_settings_initializer_mac.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -19,9 +19,9 @@
DCHECK(print_settings);
print_settings->set_printer_name(
- base::SysCFStringRefToWide(PMPrinterGetName(printer)));
+ base::SysCFStringRefToUTF16(PMPrinterGetName(printer)));
print_settings->set_device_name(
- base::SysCFStringRefToWide(PMPrinterGetID(printer)));
+ base::SysCFStringRefToUTF16(PMPrinterGetID(printer)));
print_settings->ranges = new_ranges;
PMOrientation orientation = kPMPortrait;
« no previous file with comments | « printing/print_settings_initializer_gtk.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698