Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3532)

Unified Diff: base/files/file_path.cc

Issue 17618003: mac: Remove ScopedCFTypeRef from base::mac::. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ios Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/mac/scoped_cftyperef.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path.cc
diff --git a/base/files/file_path.cc b/base/files/file_path.cc
index ef0cde6fd8fd76bd53bd98eec091ae5c9bbc08f3..be346342937fe696260ecdc4bd072d735b54dfdf 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<CFStringRef> cfstring(
+ ScopedCFTypeRef<CFStringRef> cfstring(
CFStringCreateWithBytesNoCopy(
NULL,
reinterpret_cast<const UInt8*>(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<CFStringRef> cfstring1(
+ ScopedCFTypeRef<CFStringRef> cfstring1(
CFStringCreateWithBytesNoCopy(
NULL,
reinterpret_cast<const UInt8*>(string1.c_str()),
@@ -1226,7 +1226,7 @@ int FilePath::CompareIgnoreCase(const StringType& string1,
kCFStringEncodingUTF8,
false,
kCFAllocatorNull));
- mac::ScopedCFTypeRef<CFStringRef> cfstring2(
+ ScopedCFTypeRef<CFStringRef> cfstring2(
CFStringCreateWithBytesNoCopy(
NULL,
reinterpret_cast<const UInt8*>(string2.c_str()),
« no previous file with comments | « no previous file | base/mac/scoped_cftyperef.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698