mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 13:45:07 +00:00
LibWeb: Convert SandboxingFlagSet into a enum class
Instead of having a nested enum within a struct, use the macro AK_ENUM_BITWISE_OPERATORS to add all the convienent has_flag free functions and such for ease of use.
This commit is contained in:
parent
967cb86c5b
commit
d97b09693e
9 changed files with 39 additions and 41 deletions
|
@ -17,7 +17,7 @@ struct SourceSnapshotParams {
|
|||
bool has_transient_activation;
|
||||
|
||||
// a sandboxing flag set
|
||||
SandboxingFlagSet sandboxing_flags;
|
||||
SandboxingFlagSet sandboxing_flags = {};
|
||||
|
||||
// a boolean
|
||||
bool allows_downloading;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue