From 1c99ea8ed80ca492397717b57e2735869be38c69 Mon Sep 17 00:00:00 2001 From: tfarina Date: Wed, 11 Jun 2014 08:58:50 -0700 Subject: Cleanup: Delete sk_tools::get_basename() in favor of SkOSPath::SkBasename(). BUG=None TEST=make tests && out/Debug/tests R=epoger@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/321693002 --- tools/picture_utils.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tools/picture_utils.h') diff --git a/tools/picture_utils.h b/tools/picture_utils.h index c0e0d2c8dd..2e1af7b78c 100644 --- a/tools/picture_utils.h +++ b/tools/picture_utils.h @@ -38,13 +38,6 @@ namespace sk_tools { // TODO(epoger): delete in favor of SkOSPath::SkPathJoin()? void make_filepath(SkString* path, const SkString&, const SkString& name); - // Returns the last part of the path (file name or leaf directory name) - // - // This basically just looks for a foward slash or backslash (windows - // only). - // TODO(epoger): delete in favor of SkOSPath::SkBasename()? - void get_basename(SkString* basename, const SkString& path); - // Returns true if the string ends with % bool is_percentage(const char* const string); -- cgit v1.2.3