Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Unified Diff: app/tree_node_model.h

Issue 3111024: Remove wstrings from bookmarks, part 9. (Closed)
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « app/tree_model.h ('k') | app/tree_node_model_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/tree_node_model.h
diff --git a/app/tree_node_model.h b/app/tree_node_model.h
index 4a1458bf4a27c3e32c23d22ffca0ae163e5c5efa..b294911fb84fe754cbb8a291fa2abbddba5c9104 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);
}
« no previous file with comments | « app/tree_model.h ('k') | app/tree_node_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698