#include "third_party/blink/renderer/core/layout/physical_fragment_rare_data.h"
#include "third_party/blink/renderer/core/layout/box_fragment_builder.h"
#include "third_party/blink/renderer/core/layout/frame_set_layout_data.h"
#include "third_party/blink/renderer/platform/wtf/size_assertions.h"
namespace blink {
PhysicalFragmentRareData::PhysicalFragmentRareData(wtf_size_t num_fields) { … }
PhysicalFragmentRareData::PhysicalFragmentRareData(
const PhysicalRect* scrollable_overflow,
const PhysicalBoxStrut* borders,
const PhysicalBoxStrut* scrollbar,
const PhysicalBoxStrut* padding,
std::optional<PhysicalRect> inflow_bounds,
BoxFragmentBuilder& builder,
wtf_size_t num_fields)
: … { … }
#define SET_IF_EXISTS …
#define CLONE_IF_EXISTS …
PhysicalFragmentRareData::PhysicalFragmentRareData(
const PhysicalFragmentRareData& other)
: … { … }
#undef SET_IF_EXISTS
#undef CLONE_IF_EXISTS
PhysicalFragmentRareData::~PhysicalFragmentRareData() = default;
#define DISPATCH_BY_MEMBER_TYPE …
#define CONSTRUCT_UNION_MEMBER …
PhysicalFragmentRareData::RareField::RareField(
PhysicalFragmentRareData::FieldId field_id)
: … { … }
#undef CONSTRUCT_UNION_MEMBER
#define MOVE_UNION_MEMBER …
PhysicalFragmentRareData::RareField::RareField(
PhysicalFragmentRareData::RareField&& other)
: … { … }
#undef MOVE_UNION_MEMBER
#define DESTRUCT_UNION_MEMBER …
PhysicalFragmentRareData::RareField::~RareField() { … }
#undef DESTRUCT_UNION_MEMBER
#undef DISPATCH_BY_MEMBER_TYPE
}