diff options
author | Timothy Flynn <trflynn89@pm.me> | 2023-01-28 11:26:03 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-01-29 00:02:45 +0000 |
commit | 1c1b902a6a0c1c7017fdc6d9748018317a554c9b (patch) | |
tree | f51f96040c0c244b9ed4b24c8976638340f84098 /Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h | |
parent | b0a4df76deec339cf20d16587eef4dcbf2112e36 (diff) | |
download | serenity-1c1b902a6a0c1c7017fdc6d9748018317a554c9b.zip |
LibJS+LibWeb: Move headers around to allow including Value from Cell
The goal here is to allow Cell::initialize to return a ThrowCompletion,
to handle OOM for example. Cell.h will then need to include Completion.h
which must include Value.h. This currently can't happen because Value.h
includes BigInt.h, which in turn includes Cell.h. So we would have an
include cycle.
This removes BigInt.h from Value.h, as it is forward-declarable (it is
only referred to with a reference or pointer). Then the Value overload
for Cell::Visitor::visit is moved to Cell.h, and missing BigInt.h
includes as peppered as needed.
Diffstat (limited to 'Userland/Libraries/LibWeb/SVG/SVGGraphicsElement.h')
0 files changed, 0 insertions, 0 deletions