diff options
author | tfarina <tfarina@chromium.org> | 2014-07-28 19:26:58 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-28 19:26:58 -0700 |
commit | a8e2e1504b9af6ba791637f228debaa23953064a (patch) | |
tree | c4dc50d10bb27a4bfd263f877cb7d602f6779afc /tools/bench_playback.cpp | |
parent | 2bff230d835fbc84f0ce8b2e7a399fe8416ec7c8 (diff) |
Cleanup: Rename SkOSPath functions.
Mostly for brevity and matches better with Python:
Python | Old C++ | New C++
os.path.join | SkOSPath::SkPathJoin | SkOSPath::Join
os.path.basename | SkOSPath::SkBasename | SkOSPath::Basename
BUG=None
TEST=make all
R=mtklein@google.com, bsalomon@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/428443002
Diffstat (limited to 'tools/bench_playback.cpp')
-rw-r--r-- | tools/bench_playback.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bench_playback.cpp b/tools/bench_playback.cpp index 5343191974..a4f3a6a394 100644 --- a/tools/bench_playback.cpp +++ b/tools/bench_playback.cpp @@ -106,7 +106,7 @@ int tool_main(int argc, char** argv) { continue; } - const SkString path = SkOSPath::SkPathJoin(FLAGS_skps[0], filename.c_str()); + const SkString path = SkOSPath::Join(FLAGS_skps[0], filename.c_str()); SkAutoTUnref<SkStream> stream(SkStream::NewFromFile(path.c_str())); if (!stream) { |