summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/cookie_info_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/cookie_info_view.cc')
-rw-r--r--chrome/browser/views/cookie_info_view.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/views/cookie_info_view.cc b/chrome/browser/views/cookie_info_view.cc
index 4727bd1..f2a1bb1 100644
--- a/chrome/browser/views/cookie_info_view.cc
+++ b/chrome/browser/views/cookie_info_view.cc
@@ -9,7 +9,9 @@
#include "app/l10n_util.h"
#include "base/i18n/time_formatting.h"
#include "base/message_loop.h"
+#include "base/string16.h"
#include "base/string_util.h"
+#include "base/utf_string_conversions.h"
#include "chrome/browser/cookies_tree_model.h"
#include "chrome/browser/profile.h"
#include "gfx/canvas.h"
@@ -149,8 +151,8 @@ int CookieInfoView::GetItemCount() {
return static_cast<int>(expire_combo_values_.size());
}
-std::wstring CookieInfoView::GetItemAt(int index) {
- return expire_combo_values_[index];
+string16 CookieInfoView::GetItemAt(int index) {
+ return WideToUTF16Hack(expire_combo_values_[index]);
}
void CookieInfoView::AddLabelRow(int layout_id, views::GridLayout* layout,