summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_applications
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 14:01:59 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 14:01:59 +0000
commit386581083c4bd6d392189b57b977b0733831036b (patch)
tree3b16fc40ed7012f867eea27ad6757893b9d7fc0d /chrome/browser/web_applications
parent2558839a26e5a33f5ff00a8de14172775f201adc (diff)
downloadchromium_src-386581083c4bd6d392189b57b977b0733831036b.zip
chromium_src-386581083c4bd6d392189b57b977b0733831036b.tar.gz
chromium_src-386581083c4bd6d392189b57b977b0733831036b.tar.bz2
file_util: Get rid of file_util::AppendToPath in icon_util_unittest.cc
Use AppendASCII from FilePath API instead of the deprecated AppendToPath function. BUG=24672 TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3046020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_applications')
-rw-r--r--chrome/browser/web_applications/web_app.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/web_applications/web_app.cc b/chrome/browser/web_applications/web_app.cc
index 97a2329..df01bd5 100644
--- a/chrome/browser/web_applications/web_app.cc
+++ b/chrome/browser/web_applications/web_app.cc
@@ -128,7 +128,7 @@ void GetImageCheckSum(const SkBitmap& image, MD5Digest* digest) {
#if defined(OS_WIN)
// Saves |image| as an |icon_file| with the checksum.
bool SaveIconWithCheckSum(const FilePath& icon_file, const SkBitmap& image) {
- if (!IconUtil::CreateIconFileFromSkBitmap(image, icon_file.value()))
+ if (!IconUtil::CreateIconFileFromSkBitmap(image, icon_file))
return false;
MD5Digest digest;