| Index: chrome/plugin/chrome_content_plugin_client.cc
|
| diff --git a/chrome/plugin/chrome_content_plugin_client.cc b/chrome/plugin/chrome_content_plugin_client.cc
|
| index c6712ab1502ce6003537ef020cc091626fde878f..f9f8f0c90bd9a59f1ec651a63a57f171637fe861 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<CFStringRef> cf_plugin_name(
|
| + base::ScopedCFTypeRef<CFStringRef> cf_plugin_name(
|
| base::SysUTF16ToCFStringRef(plugin_name));
|
| - base::mac::ScopedCFTypeRef<CFStringRef> app_name(
|
| - base::SysUTF16ToCFStringRef(
|
| - l10n_util::GetStringUTF16(IDS_SHORT_PLUGIN_APP_NAME)));
|
| - base::mac::ScopedCFTypeRef<CFStringRef> process_name(
|
| - CFStringCreateWithFormat(kCFAllocatorDefault, NULL, CFSTR("%@ (%@)"),
|
| - cf_plugin_name.get(), app_name.get()));
|
| + base::ScopedCFTypeRef<CFStringRef> app_name(base::SysUTF16ToCFStringRef(
|
| + l10n_util::GetStringUTF16(IDS_SHORT_PLUGIN_APP_NAME)));
|
| + base::ScopedCFTypeRef<CFStringRef> process_name(
|
| + CFStringCreateWithFormat(kCFAllocatorDefault,
|
| + NULL,
|
| + CFSTR("%@ (%@)"),
|
| + cf_plugin_name.get(),
|
| + app_name.get()));
|
| base::mac::SetProcessName(process_name);
|
| #endif
|
| }
|
|
|