Index: chrome/browser/ui/views/keyboard_overlay_delegate.cc |
diff --git a/chrome/browser/ui/views/keyboard_overlay_delegate.cc b/chrome/browser/ui/views/keyboard_overlay_delegate.cc |
index 0fbc554499b76cbd51e7b905054e4abd241bf97a..b27592db870e654d59894f0bea5b2e2e20772c31 100644 |
--- a/chrome/browser/ui/views/keyboard_overlay_delegate.cc |
+++ b/chrome/browser/ui/views/keyboard_overlay_delegate.cc |
@@ -22,7 +22,7 @@ static const int kHorizontalMargin = 28; |
KeyboardOverlayDelegate::KeyboardOverlayDelegate( |
const std::wstring& title) |
- : title_(title), |
+ : title_(WideToUTF16Hack(title)), |
view_(NULL) { |
} |
@@ -33,7 +33,7 @@ bool KeyboardOverlayDelegate::IsDialogModal() const { |
return true; |
} |
-std::wstring KeyboardOverlayDelegate::GetDialogTitle() const { |
+string16 KeyboardOverlayDelegate::GetDialogTitle() const { |
return title_; |
} |