diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-02 22:22:07 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-02 22:22:07 +0000 |
commit | 967d18bad65a0dc0cf8d0207cbd2cf82651752b8 (patch) | |
tree | 2d06825366c1d876dd432b60db417565dc3d4e7e /skia | |
parent | 849991d6cebb241a26db85ba50b4e0c2a6b6a80c (diff) | |
download | chromium_src-967d18bad65a0dc0cf8d0207cbd2cf82651752b8.zip chromium_src-967d18bad65a0dc0cf8d0207cbd2cf82651752b8.tar.gz chromium_src-967d18bad65a0dc0cf8d0207cbd2cf82651752b8.tar.bz2 |
wstring: remove some simple instances of ToWStringHack
BUG=69467
Review URL: http://codereview.chromium.org/6588131
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76630 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/ext/vector_canvas_unittest.cc | 4 |
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. |