| Index: components/bookmarks/browser/bookmark_model.cc
|
| diff --git a/components/bookmarks/browser/bookmark_model.cc b/components/bookmarks/browser/bookmark_model.cc
|
| index 3b502760c0fe2b0cc00fdc89dabc4b4822cbe791..51d0f50df21a33f4cce48e86b74c1f7dbe01e3e5 100644
|
| --- a/components/bookmarks/browser/bookmark_model.cc
|
| +++ b/components/bookmarks/browser/bookmark_model.cc
|
| @@ -47,10 +47,7 @@ BookmarkPermanentNode* AsMutable(const BookmarkPermanentNode* node) {
|
|
|
| // Comparator used when sorting permanent nodes. Nodes that are initially
|
| // visible are sorted before nodes that are initially hidden.
|
| -class VisibilityComparator
|
| - : public std::binary_function<const BookmarkPermanentNode*,
|
| - const BookmarkPermanentNode*,
|
| - bool> {
|
| +class VisibilityComparator {
|
| public:
|
| explicit VisibilityComparator(BookmarkClient* client) : client_(client) {}
|
|
|
| @@ -68,9 +65,7 @@ class VisibilityComparator
|
|
|
| // Comparator used when sorting bookmarks. Folders are sorted first, then
|
| // bookmarks.
|
| -class SortComparator : public std::binary_function<const BookmarkNode*,
|
| - const BookmarkNode*,
|
| - bool> {
|
| +class SortComparator {
|
| public:
|
| explicit SortComparator(icu::Collator* collator) : collator_(collator) {}
|
|
|
|
|