From 3df79f4277938356ae3c7b3ecc25ab6165e8a899 Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Mon, 24 Jun 2013 18:49:05 +0000 Subject: mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef. This CL was created fully mechanically by running git grep -l base::mac::ScopedCFTypeRef | xargs sed -i -e 's/base::mac::ScopedCFTypeRef/base::ScopedCFTypeRef/g' git commit -a -m. git clang-format HEAD^ --style=Chromium git commit -a -m. git cl upload -t $TITLE BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/16917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208245 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/plugin/chrome_content_plugin_client.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'chrome/plugin') diff --git a/chrome/plugin/chrome_content_plugin_client.cc b/chrome/plugin/chrome_content_plugin_client.cc index c6712ab1..f9f8f0c 100644 --- a/chrome/plugin/chrome_content_plugin_client.cc +++ b/chrome/plugin/chrome_content_plugin_client.cc @@ -55,14 +55,16 @@ void ChromeContentPluginClient::PreSandboxInitialization() { void ChromeContentPluginClient::PluginProcessStarted( const string16& plugin_name) { #if defined(OS_MACOSX) - base::mac::ScopedCFTypeRef cf_plugin_name( + base::ScopedCFTypeRef cf_plugin_name( base::SysUTF16ToCFStringRef(plugin_name)); - base::mac::ScopedCFTypeRef app_name( - base::SysUTF16ToCFStringRef( - l10n_util::GetStringUTF16(IDS_SHORT_PLUGIN_APP_NAME))); - base::mac::ScopedCFTypeRef process_name( - CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@ (%@)"), - cf_plugin_name.get(), app_name.get())); + base::ScopedCFTypeRef app_name(base::SysUTF16ToCFStringRef( + l10n_util::GetStringUTF16(IDS_SHORT_PLUGIN_APP_NAME))); + base::ScopedCFTypeRef process_name( + CFStringCreateWithFormat(kCFAllocatorDefault, + NULL, + CFSTR("%@ (%@)"), + cf_plugin_name.get(), + app_name.get())); base::mac::SetProcessName(process_name); #endif } -- cgit v1.1