Skip to content

refactor: use GetWebContents() from WebContentsUserData#51478

Open
techvoyager-varun wants to merge 1 commit intoelectron:mainfrom
techvoyager-varun:refactor/webcontents
Open

refactor: use GetWebContents() from WebContentsUserData#51478
techvoyager-varun wants to merge 1 commit intoelectron:mainfrom
techvoyager-varun:refactor/webcontents

Conversation

@techvoyager-varun
Copy link
Copy Markdown

Description of Change

Eliminated duplicate raw_ptr<content::WebContents> web_contents_ fields in WebContentsPreferences and WebContentsPermissionHelper. The classes now correctly use the Chromium base class's GetWebContents() method, explicitly resolving two duplicate TODO(clavin) comments.

Checklist

Release Notes

Notes: none

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label May 4, 2026
@ckerr ckerr requested review from ckerr and clavin May 5, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-pr 🌱 PR opened recently

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant