summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sessions
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 06:13:02 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 06:13:02 +0000
commitcee9de4e4af9a1d441a1540c6c7a676c35042994 (patch)
treeac2034b3195281551dde58be9f4b2c32d8b8f8c0 /chrome/browser/sessions
parentd01902d70e46a90fc24d3a442805a4a665d373ca (diff)
downloadchromium_src-cee9de4e4af9a1d441a1540c6c7a676c35042994.zip
chromium_src-cee9de4e4af9a1d441a1540c6c7a676c35042994.tar.gz
chromium_src-cee9de4e4af9a1d441a1540c6c7a676c35042994.tar.bz2
Fix the build with some forgotten string conversions on non-Windows.
Review URL: http://codereview.chromium.org/40099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10875 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sessions')
-rw-r--r--chrome/browser/sessions/session_types.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/sessions/session_types.cc b/chrome/browser/sessions/session_types.cc
index a43f637..a87ea6c 100644
--- a/chrome/browser/sessions/session_types.cc
+++ b/chrome/browser/sessions/session_types.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/sessions/session_types.h"
+#include "base/string_util.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
// TabNavigation --------------------------------------------------------------
@@ -21,7 +22,7 @@ NavigationEntry* TabNavigation::ToNavigationEntry(int page_id) const {
page_id,
real_url,
referrer_,
- title_,
+ WideToUTF16Hack(title_),
// Use a transition type of reload so that we don't incorrectly
// increase the typed count.
PageTransition::RELOAD);