Repository navigation
Conversation
|
And cef-headers.hpp ? If I understood correctly it needs its Edit: |
|
That one I felt slightly less comfortable changing, but can make the adjustment if you're OK with it. |
|
Updating to make 6533 the strict minimum is a proper adjustment, it also makes it more discoverable once we'll bump again requirements. |
8bd9869 to
585204b
Compare
585204b to
138d41c
Compare
| [[maybe_unused]] CefLoadHandler::ErrorCode errorCode, const CefString &, | ||
| const CefString &) | ||
| { | ||
| #if CHROME_VERSION_BUILD > 6533 |
There was a problem hiding this comment.
Was enabling this for 6533 intentional?
| #endif | ||
|
|
||
| #if !defined(_WIN32) && CHROME_VERSION_BUILD < 6367 | ||
| if (shared_handle == bs->last_handle) { |
There was a problem hiding this comment.
After this, last_handle can be removed. Nothing uses its value anymore.
There was a problem hiding this comment.
Ah, good catch. I have now removed last_handle in the relevant "older than 6367" commit.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
Assume we're always using CEF 6533 or newer.
138d41c to
e67c12b
Compare
Description
Make code more readable by removing legacy checks for ancient versions of Chromium.
Also bump minimum CEF to 127, as we want to support 127 and 150 at the same time.
Plus a formatting pass necessitated by changes.
Any remaining
<= 6533checks were changed to== 6533so they're easy to find in a future pass.Realistically these could probably be squashed into one commit, but this ensures reviewability.
Motivation and Context
Maintaining old code gets messy. This also incentivises unofficial builds to update to modern versions of CEF.
How Has This Been Tested?
On
Across
Types of changes
Checklist: