summaryrefslogtreecommitdiffstats
path: root/chrome/browser
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
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')
-rw-r--r--chrome/browser/jumplist_win.cc4
-rw-r--r--chrome/browser/web_applications/web_app.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/jumplist_win.cc b/chrome/browser/jumplist_win.cc
index 1f434f6..baf6938 100644
--- a/chrome/browser/jumplist_win.cc
+++ b/chrome/browser/jumplist_win.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -255,7 +255,7 @@ bool CreateIconFile(const SkBitmap& bitmap,
// Create an icon file from the favicon attached to the given |page|, and
// save it as the temporary file.
- if (!IconUtil::CreateIconFileFromSkBitmap(bitmap, path.value()))
+ if (!IconUtil::CreateIconFileFromSkBitmap(bitmap, path))
return false;
// Add this icon file to the list and return its absolute path.
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;