Files
brave-core/patches/chrome-browser-ui-views-tabs-vertical-tab_collection_node.cc.patch
T

21 lines
1.1 KiB
Diff

diff --git a/chrome/browser/ui/views/tabs/vertical/tab_collection_node.cc b/chrome/browser/ui/views/tabs/vertical/tab_collection_node.cc
index 6b45055b4443f88131ac03df55166cb8b9596ea9..20f79349856a952a9409f5dcdb12dfe56975c22b 100644
--- a/chrome/browser/ui/views/tabs/vertical/tab_collection_node.cc
+++ b/chrome/browser/ui/views/tabs/vertical/tab_collection_node.cc
@@ -38,6 +38,7 @@ TabCollectionNode::Type GetTypeFromNode(tabs::ConstChildPtr node_data_) {
return TabCollectionNode::Type::GROUP;
case tabs::TabCollection::Type::SPLIT:
return TabCollectionNode::Type::SPLIT;
+ BRAVE_GET_TYPE_FROM_NODE
}
}
CHECK(std::holds_alternative<const tabs::TabInterface*>(node_data_));
@@ -106,6 +107,7 @@ std::unique_ptr<views::View> TabCollectionNode::CreateViewForNode(
return std::make_unique<VerticalTabGroupView>(node_for_view);
case Type::TAB:
return std::make_unique<VerticalTabView>(node_for_view);
+ BRAVE_TAB_COLLECTION_NODE_CREATE_VIEW_FOR_NODE
}
return std::make_unique<CollectionTestViewImpl>(node_for_view);
}