From 6b2f7a8c4ca23b35ef56246a7a86b0d414ac89ea Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Mon, 25 Apr 2011 19:30:51 +0000 Subject: Revert my recent changes regarding title directionality. This reverts: r82400: Plumb direction of document title through IPC layer. r82582: Add and use a base::i18n::StringWithDirection for carrying titles. r82778: Change NavigationEntry's title fields to carry the text direction. I'm going to take an alternative approach; after getting this far, I can see that this approach was too complicated. BUG=27094 Review URL: http://codereview.chromium.org/6901003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82908 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/debugger/devtools_http_protocol_handler.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chrome/browser/debugger/devtools_http_protocol_handler.cc') diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.cc b/chrome/browser/debugger/devtools_http_protocol_handler.cc index 514b506..175de35 100644 --- a/chrome/browser/debugger/devtools_http_protocol_handler.cc +++ b/chrome/browser/debugger/devtools_http_protocol_handler.cc @@ -253,9 +253,7 @@ static PageList GeneratePageList( page_info.id = controller.session_id().id(); page_info.attached = client_host != NULL; page_info.url = entry->url().spec(); - // TODO(evan): use directionality of title? - // http://code.google.com/p/chromium/issues/detail?id=27094 - page_info.title = UTF16ToUTF8(entry->title().string()); + page_info.title = UTF16ToUTF8(entry->title()); page_info.favicon_url = entry->favicon().url().spec(); page_list.push_back(page_info); } -- cgit v1.1