| Index: content/browser/renderer_host/render_view_host.cc
|
| diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
|
| index d043f7fe42b97bf4d6a42300671622b84beedbc0..4a6c9ae148f649df1ed1e0a75a108162de6c9a5f 100644
|
| --- a/content/browser/renderer_host/render_view_host.cc
|
| +++ b/content/browser/renderer_host/render_view_host.cc
|
| @@ -999,20 +999,13 @@ void RenderViewHost::OnMsgUpdateState(int32 page_id,
|
| delegate_->UpdateState(this, page_id, state);
|
| }
|
|
|
| -void RenderViewHost::OnMsgUpdateTitle(
|
| - int32 page_id,
|
| - const string16& title,
|
| - WebKit::WebTextDirection title_direction) {
|
| +void RenderViewHost::OnMsgUpdateTitle(int32 page_id,
|
| + const std::wstring& title) {
|
| if (title.length() > content::kMaxTitleChars) {
|
| NOTREACHED() << "Renderer sent too many characters in title.";
|
| return;
|
| }
|
| - base::i18n::TextDirection dir =
|
| - title_direction == WebKit::WebTextDirectionLeftToRight ?
|
| - base::i18n::LEFT_TO_RIGHT :
|
| - base::i18n::RIGHT_TO_LEFT;
|
| - delegate_->UpdateTitle(this, page_id,
|
| - base::i18n::String16WithDirection(title, dir));
|
| + delegate_->UpdateTitle(this, page_id, title);
|
| }
|
|
|
| void RenderViewHost::OnMsgUpdateEncoding(const std::string& encoding_name) {
|
|
|