Skip to content

Commit

Permalink
Enabled split view features in sidebar test to use split feature
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Feb 28, 2025
1 parent c20e267 commit 643dfe5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browser/ui/sidebar/sidebar_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ namespace sidebar {

class SidebarBrowserTest : public InProcessBrowserTest {
public:
SidebarBrowserTest() = default;
SidebarBrowserTest() : scoped_features_(tabs::features::kBraveSplitView) {}
~SidebarBrowserTest() override = default;

void PreRunTestOnMainThread() override {
Expand Down Expand Up @@ -286,6 +286,7 @@ class SidebarBrowserTest : public InProcessBrowserTest {
return std::distance(items.cbegin(), iter);
}

base::test::ScopedFeatureList scoped_features_;
raw_ptr<views::View, DanglingUntriaged> item_added_bubble_anchor_ = nullptr;
std::unique_ptr<base::RunLoop> run_loop_;
base::WeakPtrFactory<SidebarBrowserTest> weak_factory_{this};
Expand Down

0 comments on commit 643dfe5

Please sign in to comment.