Skip to content

servo: Remove unnecessary RefCell from site_data_manager#44116

Merged
mrobinson merged 2 commits into
servo:mainfrom
sabbCodes:issue-44100
Apr 11, 2026
Merged

servo: Remove unnecessary RefCell from site_data_manager#44116
mrobinson merged 2 commits into
servo:mainfrom
sabbCodes:issue-44100

Conversation

@sabbCodes

Copy link
Copy Markdown
Contributor

Removed unnecessary RefCell from site_data_manager

Testing: ./mach test-unit -p servo result; Summary [ 10.204s] 1 test run: 1 passed, 0 skipped
Fixes: #44100

Signed-off-by: Sabb <sarafaabbas@gmail.com>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 11, 2026
Taym95
Taym95 previously requested changes Apr 11, 2026
Comment thread components/servo/servo.rs Outdated
constellation_embedder_receiver: Receiver<ConstellationToEmbedderMsg>,
network_manager: Rc<RefCell<NetworkManager>>,
site_data_manager: Rc<RefCell<SiteDataManager>>,
site_data_manager: Rc<SiteDataManager>,

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.

I dont think Rc is needed either

Suggested change
site_data_manager: Rc<SiteDataManager>,
site_data_manager: SiteDataManager,

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okay...

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Apr 11, 2026
Signed-off-by: Sabb <sarafaabbas@gmail.com>
@servo-highfive servo-highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Apr 11, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 11, 2026
@mrobinson mrobinson enabled auto-merge April 11, 2026 11:50
@jdm jdm dismissed Taym95’s stale review April 11, 2026 12:25

Addressed.

@mrobinson mrobinson added this pull request to the merge queue Apr 11, 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 11, 2026
Merged via the queue into servo:main with commit 00ef0f4 Apr 11, 2026
33 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 11, 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.

Servo::site_data_manager has unnecessary RefCell

4 participants