summaryrefslogtreecommitdiffstats
path: root/chrome/browser/images_uitest.cc
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-02 00:56:57 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-02 00:56:57 +0000
commit4b68e0d50c4a69b91a384b698a96f6a51ca7241f (patch)
treea11dc1b6baf8d2e1d1c3d8b7930fb9ca0cec46eb /chrome/browser/images_uitest.cc
parent82d10b14f9b4150ce1e154629dec9dcddadcf272 (diff)
downloadchromium_src-4b68e0d50c4a69b91a384b698a96f6a51ca7241f.zip
chromium_src-4b68e0d50c4a69b91a384b698a96f6a51ca7241f.tar.gz
chromium_src-4b68e0d50c4a69b91a384b698a96f6a51ca7241f.tar.bz2
Yet more deprecation of the wstring version of PathService::Get() for UI tests.
Review URL: http://codereview.chromium.org/99298 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15127 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/images_uitest.cc')
-rw-r--r--chrome/browser/images_uitest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/images_uitest.cc b/chrome/browser/images_uitest.cc
index 59dffda..a9f7605 100644
--- a/chrome/browser/images_uitest.cc
+++ b/chrome/browser/images_uitest.cc
@@ -3,17 +3,17 @@
// found in the LICENSE file.
#include "base/basictypes.h"
-#include "base/file_util.h"
+#include "base/file_path.h"
#include "base/platform_thread.h"
#include "chrome/test/ui/ui_test.h"
class ImagesTest : public UITest {
protected:
ImagesTest() : UITest() {
- std::wstring path = test_data_directory_;
- file_util::AppendToPath(&path, L"animated-gifs.html");
+ FilePath path(test_data_directory_);
+ path = path.AppendASCII("animated-gifs.html");
launch_arguments_ = CommandLine(L"");
- launch_arguments_.AppendLooseValue(path);
+ launch_arguments_.AppendLooseValue(path.ToWStringHack());
}
};