Fix AddCustomScheme function for cef >= 3683 #158
No reviewers
Labels
No labels
area/accessibility
area/dependency
Confirmed
Crash Report
Delayed
Design Issue
Duplicate
Feedback required
Good first issue
kind/bug
kind/cleanup
kind/enhancement
platform/linux
platform/macos
platform/windows
priority/high
Question
Request for Comments
Seeking Other Contributors
Seeking Testers
Won't Fix / By Design
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-obsproject/obs-browser!158
Loading…
Reference in a new issue
No description provided.
Delete branch "fix3683"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since cef 3683 AddCustomScheme has only two args instead of 6 and uses a bitmask arg.
This fixes the function for cef >= 3683.
pr updated by using defs CEF_SCHEME_OPTION_CORS_ENABLED (= 1<<4) and CEF_SCHEME_OPTION_STANDARD = 1 << 0 instead of the raw numbers