From dc4f4c2fc8e0083adafa8d381a33c1739936308a Mon Sep 17 00:00:00 2001 From: "thakis@chromium.org" Date: Mon, 24 Jun 2013 23:14:17 +0000 Subject: mac: Remove ScopedCFTypeRef from base::mac::. Most references were updated from base::mac:: to base:: in r208245. Manually fix up a few stragglers in this CL too. BUG=251957 R=mark@chromium.org Review URL: https://codereview.chromium.org/17618003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208287 0039d316-1c4b-4281-b951-d872f2087c98 --- base/files/file_path.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'base/files') diff --git a/base/files/file_path.cc b/base/files/file_path.cc index ef0cde6..be34634 100644 --- a/base/files/file_path.cc +++ b/base/files/file_path.cc @@ -1171,7 +1171,7 @@ int FilePath::HFSFastUnicodeCompare(const StringType& string1, } StringType FilePath::GetHFSDecomposedForm(const StringType& string) { - mac::ScopedCFTypeRef cfstring( + ScopedCFTypeRef cfstring( CFStringCreateWithBytesNoCopy( NULL, reinterpret_cast(string.c_str()), @@ -1218,7 +1218,7 @@ int FilePath::CompareIgnoreCase(const StringType& string1, // GetHFSDecomposedForm() returns an empty string in an error case. if (hfs1.empty() || hfs2.empty()) { NOTREACHED(); - mac::ScopedCFTypeRef cfstring1( + ScopedCFTypeRef cfstring1( CFStringCreateWithBytesNoCopy( NULL, reinterpret_cast(string1.c_str()), @@ -1226,7 +1226,7 @@ int FilePath::CompareIgnoreCase(const StringType& string1, kCFStringEncodingUTF8, false, kCFAllocatorNull)); - mac::ScopedCFTypeRef cfstring2( + ScopedCFTypeRef cfstring2( CFStringCreateWithBytesNoCopy( NULL, reinterpret_cast(string2.c_str()), -- cgit v1.1