| Index: base/mac/launch_services_util.cc
|
| diff --git a/base/mac/launch_services_util.cc b/base/mac/launch_services_util.cc
|
| index c24d8646ac5179f8531ada78880cbfc43b26708b..0081500f2d99340238629bae14e30725e4164abb 100644
|
| --- a/base/mac/launch_services_util.cc
|
| +++ b/base/mac/launch_services_util.cc
|
| @@ -25,7 +25,7 @@ bool OpenApplicationWithPath(const base::FilePath& bundle_path,
|
|
|
| std::vector<std::string> argv = command_line.argv();
|
| int argc = argv.size();
|
| - base::mac::ScopedCFTypeRef<CFMutableArrayRef> launch_args(
|
| + base::ScopedCFTypeRef<CFMutableArrayRef> launch_args(
|
| CFArrayCreateMutable(NULL, argc - 1, &kCFTypeArrayCallBacks));
|
| if (!launch_args) {
|
| LOG(ERROR) << "CFArrayCreateMutable failed, size was " << argc;
|
| @@ -35,8 +35,7 @@ bool OpenApplicationWithPath(const base::FilePath& bundle_path,
|
| for (int i = 1; i < argc; ++i) {
|
| const std::string& arg(argv[i]);
|
|
|
| - base::mac::ScopedCFTypeRef<CFStringRef> arg_cf(
|
| - base::SysUTF8ToCFStringRef(arg));
|
| + base::ScopedCFTypeRef<CFStringRef> arg_cf(base::SysUTF8ToCFStringRef(arg));
|
| if (!arg_cf) {
|
| LOG(ERROR) << "base::SysUTF8ToCFStringRef failed for " << arg;
|
| return false;
|
|
|