Skip to content

devtools: Replace new with register for TabDescriptorActor#43909

Merged
eerii merged 1 commit into
servo:mainfrom
sabbCodes:issue-43800-tab-descriptor-actor
Apr 5, 2026
Merged

devtools: Replace new with register for TabDescriptorActor#43909
eerii merged 1 commit into
servo:mainfrom
sabbCodes:issue-43800-tab-descriptor-actor

Conversation

@sabbCodes

Copy link
Copy Markdown
Contributor

Replaced new with register for TabDescriptorActor in browsing_context & tab.rs

Testing: No testing required, compiles successfully.
Fixes: Part of #43800

@sabbCodes sabbCodes requested review from atbrakhi and eerii as code owners April 3, 2026 20:29
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 3, 2026
@sabbCodes sabbCodes force-pushed the issue-43800-tab-descriptor-actor branch from acd1eae to 8bc6304 Compare April 4, 2026 12:48

let tab_descriptor_actor =
TabDescriptorActor::new(registry, name.clone(), is_top_level_global);
let _tab = TabDescriptorActor::register(registry, name.clone(), is_top_level_global);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be tab_descriptor_name. We can keep _tab below.

@servo-highfive servo-highfive added the S-needs-rebase There are merge conflict errors. label Apr 5, 2026
Signed-off-by: Sabb <sarafaabbas@gmail.com>
@sabbCodes sabbCodes force-pushed the issue-43800-tab-descriptor-actor branch from 8bc6304 to ffa8914 Compare April 5, 2026 20:41
@servo-highfive servo-highfive removed the S-needs-rebase There are merge conflict errors. label Apr 5, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 5, 2026
@eerii eerii added this pull request to the merge queue Apr 5, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 5, 2026
Merged via the queue into servo:main with commit 674bd25 Apr 5, 2026
30 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 5, 2026
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.

3 participants