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

Unified Diff: printing/printing_context_mac.mm

Issue 16917011: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: with fixed off-by-1 in git-clang-format Created 7 years, 6 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/pdf_metafile_cg_mac.cc ('k') | remoting/host/curtain_mode_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context_mac.mm
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm
index 407406c26c6524c185c69f4bde3fbbbf2f3ffd5f..4d83c13071889becbcdb453756e5c0985528e530 100644
--- a/printing/printing_context_mac.mm
+++ b/printing/printing_context_mac.mm
@@ -214,7 +214,7 @@ bool PrintingContextMac::SetPrinter(const std::string& device_name) {
if (!current_printer_id)
return false;
- base::mac::ScopedCFTypeRef<CFStringRef> new_printer_id(
+ base::ScopedCFTypeRef<CFStringRef> new_printer_id(
base::SysUTF8ToCFStringRef(device_name));
if (!new_printer_id.get())
return false;
@@ -385,9 +385,9 @@ bool PrintingContextMac::SetOutputColor(int color_mode) {
std::string color_setting_name;
std::string color_value;
GetColorModelForMode(color_mode, &color_setting_name, &color_value);
- base::mac::ScopedCFTypeRef<CFStringRef> color_setting(
+ base::ScopedCFTypeRef<CFStringRef> color_setting(
base::SysUTF8ToCFStringRef(color_setting_name));
- base::mac::ScopedCFTypeRef<CFStringRef> output_color(
+ base::ScopedCFTypeRef<CFStringRef> output_color(
base::SysUTF8ToCFStringRef(color_value));
return PMPrintSettingsSetValue(pmPrintSettings,
@@ -432,7 +432,7 @@ PrintingContext::Result PrintingContextMac::NewDocument(
PMPageFormat page_format =
static_cast<PMPageFormat>([print_info_.get() PMPageFormat]);
- base::mac::ScopedCFTypeRef<CFStringRef> job_title(
+ base::ScopedCFTypeRef<CFStringRef> job_title(
base::SysUTF16ToCFStringRef(document_name));
PMPrintSettingsSetJobName(print_settings, job_title.get());
« no previous file with comments | « printing/pdf_metafile_cg_mac.cc ('k') | remoting/host/curtain_mode_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698