summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/layout_plugin_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/test/ui/layout_plugin_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/test/ui/layout_plugin_uitest.cc')
-rw-r--r--chrome/test/ui/layout_plugin_uitest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/test/ui/layout_plugin_uitest.cc b/chrome/test/ui/layout_plugin_uitest.cc
index f0778ab..3f4ba9d 100644
--- a/chrome/test/ui/layout_plugin_uitest.cc
+++ b/chrome/test/ui/layout_plugin_uitest.cc
@@ -47,9 +47,9 @@ class LayoutPluginTester : public UITest {
TEST_F(LayoutPluginTester, UnloadNoCrash) {
// We need to copy our test-plugin into the plugins directory so that
// the browser can load it.
- std::wstring plugins_directory = browser_directory_;
+ std::wstring plugins_directory = browser_directory_.ToWStringHack();
plugins_directory += L"\\plugins";
- std::wstring plugin_src = browser_directory_;
+ std::wstring plugin_src = browser_directory_.ToWStringHack();
plugin_src += L"\\npapi_layout_test_plugin.dll";
std::wstring plugin_dest = plugins_directory;
plugin_dest += L"\\npapi_layout_test_plugin.dll";