Index: chrome/browser/tab_contents/render_view_context_menu.cc |
diff --git a/chrome/browser/tab_contents/render_view_context_menu.cc b/chrome/browser/tab_contents/render_view_context_menu.cc |
index 261a762752822e939ece295049a8ad4f0317cf94..7a8265cffdbf9df76fd6648d4e86c08da45b29d9 100644 |
--- a/chrome/browser/tab_contents/render_view_context_menu.cc |
+++ b/chrome/browser/tab_contents/render_view_context_menu.cc |
@@ -1430,8 +1430,8 @@ bool RenderViewContextMenu::IsDevCommandEnabled(int id) const { |
} |
string16 RenderViewContextMenu::PrintableSelectionText() { |
- return WideToUTF16(l10n_util::TruncateString(params_.selection_text, |
- kMaxSelectionTextLength)); |
+ return l10n_util::TruncateString(WideToUTF16Hack(params_.selection_text), |
+ kMaxSelectionTextLength); |
} |
// Controller functions -------------------------------------------------------- |