summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-04 04:15:56 +0000
committermhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-04 04:15:56 +0000
commit23900e84fdd008e5214c75c986d76aeb88b46d39 (patch)
treedbe6fb36eab421d2c5e0644eb9b68b99f9497e14
parent262fb5ff37c75b8e4b068b813e1e0f2b92239399 (diff)
downloadchromium_src-23900e84fdd008e5214c75c986d76aeb88b46d39.zip
chromium_src-23900e84fdd008e5214c75c986d76aeb88b46d39.tar.gz
chromium_src-23900e84fdd008e5214c75c986d76aeb88b46d39.tar.bz2
Fix build break on chromeos and linux views.
String conversion fix due to r43584. TBR=pkasting TEST=none Review URL: http://codereview.chromium.org/1528017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43585 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/views/tabs/tab_renderer.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc
index 4f51b05..f71faea 100644
--- a/chrome/browser/views/tabs/tab_renderer.cc
+++ b/chrome/browser/views/tabs/tab_renderer.cc
@@ -11,6 +11,7 @@
#include "app/resource_bundle.h"
#include "app/slide_animation.h"
#include "app/throb_animation.h"
+#include "base/string_util.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/browser_theme_provider.h"
#include "chrome/browser/defaults.h"
@@ -322,7 +323,7 @@ void TabRenderer::UpdateData(TabContents* contents,
data_.phantom = phantom;
// Sets the accessible name for the tab.
- SetAccessibleName(data_.title);
+ SetAccessibleName(UTF16ToWide(data_.title));
}
// TODO(glen): Temporary hax.