-
Notifications
You must be signed in to change notification settings - Fork 244
Remove old CEF support #497
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The zeroed memory hack only applies on Windows if using CEF older than 3770, which we no longer support.
Assume we're always using CEF 5060 or newer.
Assume we're always using CEF 5060 or newer.
Assume we're always using CEF 5060 or newer. The check regarding ENABLE_WASHIDDEN is left intact on purpose so that it can be removed separately.
ENABLE_WASHIDDEN is defined to 1 for CEF 90+ (4430+), which we always use. Remove it and any code that would not be executed due to this value.
Remove ENABLE_LOCAL_FILE_URL_SCHEME. ENABLE_LOCAL_FILE_URL_SCHEME is defined to 0 for CEF 95+ (4638+), which we always use. Remove it and any code that would not be executed due to this value.
Assume CEF 5060 is the oldest build we support.
6286dd5 to
8d32c82
Compare
WizardCM
approved these changes
Aug 23, 2025
Member
WizardCM
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Diff looks correct, removes any code older than 5060.
pkviet
approved these changes
Aug 23, 2025
Member
pkviet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Remove support for CEF versions older than 95/5060. This includes removing:
Motivation and Context
We currently only support building against CEF 95/5060 and up. We actually only target much more recent versions, but we had previously settled on pruning pre-5060 code at some point in the future, and I wanted to keep to that scope.
Some lower bounds checks were left in place for now to (hopefully) maintain clarity with those checks.
How Has This Been Tested?
Compiled and ran on Windows 11.
cc @pkviet
Types of changes
Checklist: