diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 21:04:11 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-19 21:04:11 +0000 |
commit | ba2bd157297d9e5fac3f781ab9951736e9e29eb8 (patch) | |
tree | 6ffc8322c5fb83d7dcd620bb14f860bb1568797a /chrome/test/automation/tab_proxy.cc | |
parent | 1fff4a0530c3ef7d2ea5a8af727100ec04a0e3e9 (diff) | |
download | chromium_src-ba2bd157297d9e5fac3f781ab9951736e9e29eb8.zip chromium_src-ba2bd157297d9e5fac3f781ab9951736e9e29eb8.tar.gz chromium_src-ba2bd157297d9e5fac3f781ab9951736e9e29eb8.tar.bz2 |
Convert FindInPage wstrings to string16.
Review URL: http://codereview.chromium.org/42408
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/tab_proxy.cc')
-rw-r--r-- | chrome/test/automation/tab_proxy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc index 1ac8b75..550dc5d 100644 --- a/chrome/test/automation/tab_proxy.cc +++ b/chrome/test/automation/tab_proxy.cc @@ -52,7 +52,7 @@ int TabProxy::FindInPage(const std::wstring& search_string, return -1; FindInPageRequest request = {0}; - request.search_string = search_string; + request.search_string = WideToUTF16(search_string); request.find_next = find_next; // The explicit comparison to TRUE avoids a warning (C4800). request.match_case = match_case == TRUE; |