diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-22 00:17:18 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-22 00:17:18 +0000 |
commit | 01d5525529cfc2ce50833b4183a18581264ce6c0 (patch) | |
tree | d09f72df23d412d3c6d358671f721c1b38ac98be /app/tree_node_model.h | |
parent | 824e9f50a3d588bb45bf9db02df5c3132ca817ad (diff) | |
download | chromium_src-01d5525529cfc2ce50833b4183a18581264ce6c0.zip chromium_src-01d5525529cfc2ce50833b4183a18581264ce6c0.tar.gz chromium_src-01d5525529cfc2ce50833b4183a18581264ce6c0.tar.bz2 |
Remove wstrings from bookmarks, part 9.
This actually converts TreeNodeModel::SetTitle(node, title); this is used by
bookmarks.
BUG=23581
TEST=builds nad passes tests
Review URL: http://codereview.chromium.org/3111024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/tree_node_model.h')
-rw-r--r-- | app/tree_node_model.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/tree_node_model.h b/app/tree_node_model.h index 4a1458b..b294911 100644 --- a/app/tree_node_model.h +++ b/app/tree_node_model.h @@ -273,9 +273,9 @@ class TreeNodeModel : public TreeModel { // Sets the title of the specified node. virtual void SetTitle(TreeModelNode* node, - const std::wstring& title) { + const string16& title) { DCHECK(node); - AsNode(node)->SetTitle(WideToUTF16Hack(title)); + AsNode(node)->SetTitle(title); NotifyObserverTreeNodeChanged(node); } |