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/test/ui_test_utils.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chrome/test/ui_test_utils.cc') diff --git a/chrome/test/ui_test_utils.cc b/chrome/test/ui_test_utils.cc index 7c44a19..6ab4429 100644 --- a/chrome/test/ui_test_utils.cc +++ b/chrome/test/ui_test_utils.cc @@ -399,9 +399,7 @@ bool GetCurrentTabTitle(const Browser* browser, string16* title) { NavigationEntry* last_entry = tab_contents->controller().GetActiveEntry(); if (!last_entry) return false; - // TODO(evan): use directionality of title. - // http://code.google.com/p/chromium/issues/detail?id=27094 - title->assign(last_entry->GetTitleForDisplay("").string()); + title->assign(last_entry->GetTitleForDisplay("")); return true; } -- cgit v1.1