| Index: base/strings/sys_string_conversions_mac.mm
|
| diff --git a/base/strings/sys_string_conversions_mac.mm b/base/strings/sys_string_conversions_mac.mm
|
| index 3650e4efb92a1772d882d5cdb4fcd474a4d3a152..9479e787c0e047c4edfdfb2964f51e53282854fc 100644
|
| --- a/base/strings/sys_string_conversions_mac.mm
|
| +++ b/base/strings/sys_string_conversions_mac.mm
|
| @@ -78,14 +78,13 @@ static OutStringType STLStringToSTLStringWithEncodingsT(
|
| if (in_length == 0)
|
| return OutStringType();
|
|
|
| - base::mac::ScopedCFTypeRef<CFStringRef> cfstring(
|
| - CFStringCreateWithBytesNoCopy(NULL,
|
| - reinterpret_cast<const UInt8*>(in.data()),
|
| - in_length *
|
| - sizeof(typename InStringType::value_type),
|
| - in_encoding,
|
| - false,
|
| - kCFAllocatorNull));
|
| + base::ScopedCFTypeRef<CFStringRef> cfstring(CFStringCreateWithBytesNoCopy(
|
| + NULL,
|
| + reinterpret_cast<const UInt8*>(in.data()),
|
| + in_length * sizeof(typename InStringType::value_type),
|
| + in_encoding,
|
| + false,
|
| + kCFAllocatorNull));
|
| if (!cfstring)
|
| return OutStringType();
|
|
|
|
|