diff options
Diffstat (limited to 'src/ports/SkFontHost_linux.cpp')
-rw-r--r-- | src/ports/SkFontHost_linux.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ports/SkFontHost_linux.cpp b/src/ports/SkFontHost_linux.cpp index 498d69ffe0..891e4617f3 100644 --- a/src/ports/SkFontHost_linux.cpp +++ b/src/ports/SkFontHost_linux.cpp @@ -323,7 +323,7 @@ private: while (iter.next(&name, false)) { SkString filename( - SkOSPath::SkPathJoin(directory.c_str(), name.c_str())); + SkOSPath::Join(directory.c_str(), name.c_str())); bool isFixedPitch; SkString realname; @@ -354,8 +354,7 @@ private: if (name.startsWith(".")) { continue; } - SkString dirname( - SkOSPath::SkPathJoin(directory.c_str(), name.c_str())); + SkString dirname(SkOSPath::Join(directory.c_str(), name.c_str())); load_directory_fonts(dirname); } } |