LibWeb: Fix some GCVerifier warnings

This commit is contained in:
Matthew Olsson 2024-04-05 13:47:48 -07:00 committed by Andreas Kling
commit 8450041b52
Notes: sideshowbarker 2024-07-17 06:28:38 +09:00
23 changed files with 63 additions and 59 deletions

View file

@ -11,6 +11,7 @@
#include <LibGfx/Font/Font.h>
#include <LibGfx/FontCascadeList.h>
#include <LibGfx/Forward.h>
#include <LibJS/Heap/GCPtr.h>
#include <LibWeb/CSS/ComputedValues.h>
#include <LibWeb/CSS/LengthBox.h>
#include <LibWeb/CSS/PropertyID.h>
@ -44,7 +45,7 @@ public:
struct StyleAndSourceDeclaration {
RefPtr<StyleValue const> style;
CSS::CSSStyleDeclaration const* declaration = nullptr;
JS::GCPtr<CSS::CSSStyleDeclaration const> declaration;
Important important { Important::No };
Inherited inherited { Inherited::No };
};