summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/find_bar_win.cc
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 21:04:11 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-19 21:04:11 +0000
commitba2bd157297d9e5fac3f781ab9951736e9e29eb8 (patch)
tree6ffc8322c5fb83d7dcd620bb14f860bb1568797a /chrome/browser/views/find_bar_win.cc
parent1fff4a0530c3ef7d2ea5a8af727100ec04a0e3e9 (diff)
downloadchromium_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/browser/views/find_bar_win.cc')
-rw-r--r--chrome/browser/views/find_bar_win.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/find_bar_win.cc b/chrome/browser/views/find_bar_win.cc
index d653df4..3a9fe05 100644
--- a/chrome/browser/views/find_bar_win.cc
+++ b/chrome/browser/views/find_bar_win.cc
@@ -207,7 +207,7 @@ void FindBarWin::StopAnimation() {
animation_->End();
}
-void FindBarWin::SetFindText(const std::wstring& find_text) {
+void FindBarWin::SetFindText(const string16& find_text) {
view_->SetFindText(find_text);
}
@@ -477,7 +477,7 @@ void FindBarWin::UnregisterEscAccelerator() {
}
void FindBarWin::UpdateUIForFindResult(const FindNotificationDetails& result,
- const std::wstring& find_text) {
+ const string16& find_text) {
view_->UpdateForResult(result, find_text);
// We now need to check if the window is obscuring the search results.