summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/automation/tab_proxy.cc2
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;