summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 16:27:43 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-16 16:27:43 +0000
commit71d19e281418339981fc3f6171e57209db7b4037 (patch)
treeb0cab5b113f2e5f57dd8140614b29923e361ff2d /chrome
parent3dae138c323ea22144f4bedef10fa71458ae001e (diff)
downloadchromium_src-71d19e281418339981fc3f6171e57209db7b4037.zip
chromium_src-71d19e281418339981fc3f6171e57209db7b4037.tar.gz
chromium_src-71d19e281418339981fc3f6171e57209db7b4037.tar.bz2
Fix up the sprintf to properly mark the string as a wide string.
Review URL: http://codereview.chromium.org/125191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18493 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/test/url_fetch_test/url_fetch_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/url_fetch_test/url_fetch_test.cc b/chrome/test/url_fetch_test/url_fetch_test.cc
index 58d096a..57654b4 100644
--- a/chrome/test/url_fetch_test/url_fetch_test.cc
+++ b/chrome/test/url_fetch_test/url_fetch_test.cc
@@ -44,7 +44,7 @@ class UrlFetchTest : public UITest {
}
if (varToFetch) {
std::wstring script = StringPrintf(
- L"window.domAutomationController.send(%s);", varToFetch);
+ L"window.domAutomationController.send(%ls);", varToFetch);
std::wstring value;
bool success = tab->ExecuteAndExtractString(L"", script, &value);