diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-31 18:07:53 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-31 18:07:53 +0000 |
commit | 05c2eb8f8f5b2ab92a2f531dbc5e3cd8cd7a72bc (patch) | |
tree | ddc00d7db6d1f86e1a34a13a4ff18d6605c2cf1b | |
parent | add9852e7ce11d0faf80c0318ab801b99b325563 (diff) | |
download | chromium_src-05c2eb8f8f5b2ab92a2f531dbc5e3cd8cd7a72bc.zip chromium_src-05c2eb8f8f5b2ab92a2f531dbc5e3cd8cd7a72bc.tar.gz chromium_src-05c2eb8f8f5b2ab92a2f531dbc5e3cd8cd7a72bc.tar.bz2 |
Fix file_path build.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54458 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/file_path.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/base/file_path.cc b/base/file_path.cc index 8cea54f..24a798e 100644 --- a/base/file_path.cc +++ b/base/file_path.cc @@ -396,7 +396,7 @@ FilePath FilePath::InsertBeforeExtensionASCII(const base::StringPiece& suffix) const { DCHECK(IsStringASCII(suffix)); #if defined(OS_WIN) - return InsertBeforeExtension(ASCIIToUTF16(suffix)); + return InsertBeforeExtension(ASCIIToUTF16(suffix.as_string())); #elif defined(OS_POSIX) return InsertBeforeExtension(suffix.as_string()); #endif @@ -480,7 +480,7 @@ FilePath FilePath::Append(const FilePath& component) const { FilePath FilePath::AppendASCII(const base::StringPiece& component) const { DCHECK(IsStringASCII(component)); #if defined(OS_WIN) - return Append(ASCIIToUTF16(component)); + return Append(ASCIIToUTF16(component.as_string())); #elif defined(OS_POSIX) return Append(component.as_string()); #endif |