diff --git a/build/patches/Add-menu-item-to-bookmark-all-tabs.patch b/build/patches/Add-menu-item-to-bookmark-all-tabs.patch index 94ea5ce6..a751e964 100644 --- a/build/patches/Add-menu-item-to-bookmark-all-tabs.patch +++ b/build/patches/Add-menu-item-to-bookmark-all-tabs.patch @@ -23,7 +23,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html .../browser/bookmark_load_details.cc | 15 +++++-- .../bookmarks/browser/bookmark_load_details.h | 2 + .../bookmarks/browser/bookmark_model.cc | 3 +- - components/bookmarks/browser/bookmark_model.h | 7 +++ + components/bookmarks/browser/bookmark_model.h | 8 ++++ components/bookmarks/browser/bookmark_node.cc | 13 ++++++ components/bookmarks/browser/bookmark_node.h | 4 ++ .../bookmarks/browser/bookmark_storage.cc | 2 + @@ -31,7 +31,7 @@ License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html components/bookmarks/browser/bookmark_uuids.h | 1 + components/bookmarks/browser/model_loader.cc | 9 +++- .../bookmark_specifics_conversions.cc | 1 + - 27 files changed, 251 insertions(+), 14 deletions(-) + 27 files changed, 252 insertions(+), 14 deletions(-) diff --git a/chrome/android/java/res/values/ids.xml b/chrome/android/java/res/values/ids.xml --- a/chrome/android/java/res/values/ids.xml @@ -756,14 +756,15 @@ diff --git a/components/bookmarks/browser/bookmark_model.h b/components/bookmark bool is_root_node(const BookmarkNode* node) const { DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_); return node == root_; -@@ -638,6 +644,7 @@ class BookmarkModel : public BookmarkUndoProvider, - raw_ptr account_bookmark_bar_node_ = nullptr; - raw_ptr account_other_node_ = nullptr; - raw_ptr account_mobile_node_ = nullptr; -+ raw_ptr tabs_collection_node_ = nullptr; +@@ -633,6 +639,8 @@ class BookmarkModel : public BookmarkUndoProvider, + nullptr; + raw_ptr mobile_node_ = + nullptr; ++ raw_ptr tabs_collection_node_ = ++ nullptr; - // The maximum ID assigned to the bookmark nodes in the model. - int64_t next_node_id_ = 1; + // Permanent nodes for account storage. + raw_ptr account_bookmark_bar_node_ = nullptr; diff --git a/components/bookmarks/browser/bookmark_node.cc b/components/bookmarks/browser/bookmark_node.cc --- a/components/bookmarks/browser/bookmark_node.cc +++ b/components/bookmarks/browser/bookmark_node.cc