Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI run for contributor PR #25160 #26018

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

brave-builds
Copy link
Collaborator

Description

This PR is created to run CI on the changes proposed in PR #25160 by @Ilie-Lesan.

This PR should not be merged.

@github-actions github-actions bot force-pushed the contributor-Ilie-Lesan-browser-crashed-while-dragging-tab-group-out-of-current-window branch from 890a61a to 4c683e1 Compare October 16, 2024 06:18
Ilie-Lesan and others added 5 commits October 16, 2024 11:25
…window when split view is enabled and fix interactive ui test build
… of the window when split view is enabled and fix interactive ui test build"

This reverts commit 40ed7c1.
upstream also only runs this test on Windows.
Also use //brave/browser/ui/views/tabs::browser_tests target for
tab browser test cases.
@github-actions github-actions bot force-pushed the contributor-Ilie-Lesan-browser-crashed-while-dragging-tab-group-out-of-current-window branch from 4c683e1 to 4593f38 Compare October 16, 2024 11:25
@@ -187,9 +187,9 @@ void TabDragController::DetachAndAttachToNewContext(
std::vector<tabs::TabHandle> tabs;
auto* tab_strip_model = browser->tab_strip_model();
DCHECK_EQ(tab_strip_model, attached_context_->GetTabStripModel());
for (const auto& tab_drag_data : drag_data_) {
for (size_t i = first_tab_index(); i < drag_data_.size(); ++i) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This here should be something like:

auto drag_data = base::span(drag_data_).subspan(first_tab_index());
for (const auto& tab_drag_data : drag_data) {
  ...

This way we don't access the subscript directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants