Skip to content

Commit

Permalink
Fix build failure/missing during the rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Jan 16, 2025
1 parent 9809ac7 commit b12c618
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion browser/ui/views/split_view/split_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ void SplitView::OnTileTabs(const TabTile& tile) {
UpdateContentsWebViewVisual();
}

void SplitView::OnDidBreakTile(const SplitViewBrowserData::Tile& tile) {
void SplitView::OnDidBreakTile(const TabTile& tile) {
if (!IsActiveWebContentsTiled(tile)) {
return;
}
Expand Down
6 changes: 3 additions & 3 deletions browser/ui/views/split_view/split_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ class SplitView : public views::View, public SplitViewBrowserDataObserver {
void AddedToWidget() override;

// SplitViewBrowserDataObserver:
void OnTileTabs(const SplitViewBrowserData::Tile& tile) override;
void OnDidBreakTile(const SplitViewBrowserData::Tile& tile) override;
void OnSwapTabsInTile(const SplitViewBrowserData::Tile& tile) override;
void OnTileTabs(const TabTile& tile) override;
void OnDidBreakTile(const TabTile& tile) override;
void OnSwapTabsInTile(const TabTile& tile) override;

private:
friend class SplitViewBrowserTest;
Expand Down
2 changes: 1 addition & 1 deletion browser/ui/views/split_view/split_view_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ IN_PROC_BROWSER_TEST_F(SplitViewBrowserTest,
split_view_data->IsTabTiled(tab_strip_model().GetTabHandleAt(0)));

// Then, the secondary web view should become hidden
EXPECT_FALSE(secondary_contents_view().GetVisible());
EXPECT_FALSE(secondary_contents_container().GetVisible());
}

IN_PROC_BROWSER_TEST_F(SplitViewBrowserTest,
Expand Down

0 comments on commit b12c618

Please sign in to comment.