diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 19:30:51 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-25 19:30:51 +0000 |
commit | 6b2f7a8c4ca23b35ef56246a7a86b0d414ac89ea (patch) | |
tree | 66d4d53b14636317320e4b54233717e1a18dd1eb /chrome/test/ui_test_utils.cc | |
parent | 434d5c04054dd81df1973b80ffbc8f92b8673d70 (diff) | |
download | chromium_src-6b2f7a8c4ca23b35ef56246a7a86b0d414ac89ea.zip chromium_src-6b2f7a8c4ca23b35ef56246a7a86b0d414ac89ea.tar.gz chromium_src-6b2f7a8c4ca23b35ef56246a7a86b0d414ac89ea.tar.bz2 |
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
Diffstat (limited to 'chrome/test/ui_test_utils.cc')
-rw-r--r-- | chrome/test/ui_test_utils.cc | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |