summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
Diffstat (limited to 'skia/ext')
-rw-r--r--skia/ext/vector_canvas_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/skia/ext/vector_canvas_unittest.cc b/skia/ext/vector_canvas_unittest.cc
index 4752aeb..0266c81 100644
--- a/skia/ext/vector_canvas_unittest.cc
+++ b/skia/ext/vector_canvas_unittest.cc
@@ -234,10 +234,10 @@ class ImageTest : public testing::Test {
AppendASCII(test_info.name());
// Hack for a quick lowercase. We assume all the tests names are ASCII.
- std::string tmp(WideToASCII(test_dir_.ToWStringHack()));
+ FilePath::StringType tmp(test_dir_.value());
for (size_t i = 0; i < tmp.size(); ++i)
tmp[i] = base::ToLowerASCII(tmp[i]);
- test_dir_ = FilePath::FromWStringHack(ASCIIToWide(tmp));
+ test_dir_ = FilePath(tmp);
if (action_ == GENERATE) {
// Make sure the directory exist.