Title: [271921] trunk/Source
Revision
271921
Author
[email protected]
Date
2021-01-26 16:32:32 -0800 (Tue, 26 Jan 2021)

Log Message

Revive the build when MALLOC_HEAP_BREAKDOWN is enabled
https://bugs.webkit.org/show_bug.cgi?id=220999

Reviewed by Yusuke Suzuki.

Source/WebCore:

* display/css/DisplayBox.cpp:
* display/css/DisplayBox.h:
* display/css/DisplayBoxClip.cpp:
* display/css/DisplayBoxClip.h:
* display/css/DisplayBoxDecorationData.cpp:
* display/css/DisplayBoxDecorationData.h:
* display/css/DisplayBoxModelBox.cpp:
* display/css/DisplayBoxModelBox.h:
* display/css/DisplayBoxRareGeometry.cpp:
* display/css/DisplayBoxRareGeometry.h:
* display/css/DisplayContainerBox.cpp:
* display/css/DisplayContainerBox.h:
* display/css/DisplayImageBox.cpp:
* display/css/DisplayImageBox.h:
* display/css/DisplayReplacedBox.cpp:
* display/css/DisplayReplacedBox.h:
* display/css/DisplayStyle.cpp:
* display/css/DisplayStyle.h:
* display/css/DisplayTextBox.cpp:
* display/css/DisplayTextBox.h:

Source/WTF:

* wtf/Bag.cpp:
* wtf/BitVector.cpp:
* wtf/ConcurrentBuffer.cpp:
* wtf/FastBitVector.cpp:
* wtf/HashTable.cpp:
* wtf/MetaAllocator.cpp:
* wtf/RefCountedArray.cpp:
* wtf/SegmentedVector.cpp:
* wtf/SmallPtrSet.cpp:
* wtf/UniqueArray.cpp:
* wtf/Vector.cpp:
* wtf/text/CString.cpp:
* wtf/text/StringBuffer.cpp:

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (271920 => 271921)


--- trunk/Source/WTF/ChangeLog	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/ChangeLog	2021-01-27 00:32:32 UTC (rev 271921)
@@ -1,3 +1,24 @@
+2021-01-26  Saam Barati  <[email protected]>
+
+        Revive the build when MALLOC_HEAP_BREAKDOWN is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=220999
+
+        Reviewed by Yusuke Suzuki.
+
+        * wtf/Bag.cpp:
+        * wtf/BitVector.cpp:
+        * wtf/ConcurrentBuffer.cpp:
+        * wtf/FastBitVector.cpp:
+        * wtf/HashTable.cpp:
+        * wtf/MetaAllocator.cpp:
+        * wtf/RefCountedArray.cpp:
+        * wtf/SegmentedVector.cpp:
+        * wtf/SmallPtrSet.cpp:
+        * wtf/UniqueArray.cpp:
+        * wtf/Vector.cpp:
+        * wtf/text/CString.cpp:
+        * wtf/text/StringBuffer.cpp:
+
 2021-01-26  Per Arne  <[email protected]>
 
         [macOS] Disable ENABLE_SET_WEBCONTENT_PROCESS_INFORMATION_IN_NETWORK_PROCESS

Modified: trunk/Source/WTF/wtf/Bag.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/Bag.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/Bag.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/Bag.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BagNode);

Modified: trunk/Source/WTF/wtf/BitVector.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/BitVector.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/BitVector.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -30,6 +30,7 @@
 #include <string.h>
 #include <wtf/Assertions.h>
 #include <wtf/MathExtras.h>
+#include <wtf/NeverDestroyed.h>
 
 namespace WTF {
 

Modified: trunk/Source/WTF/wtf/ConcurrentBuffer.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/ConcurrentBuffer.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/ConcurrentBuffer.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/ConcurrentBuffer.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ConcurrentBuffer);

Modified: trunk/Source/WTF/wtf/FastBitVector.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/FastBitVector.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/FastBitVector.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/FastBitVector.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(FastBitVector);

Modified: trunk/Source/WTF/wtf/HashTable.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/HashTable.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/HashTable.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -20,6 +20,8 @@
 #include "config.h"
 #include <wtf/HashTable.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(HashTable);

Modified: trunk/Source/WTF/wtf/MetaAllocator.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/MetaAllocator.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/MetaAllocator.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -29,6 +29,8 @@
 #include "config.h"
 #include <wtf/MetaAllocator.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(MetaAllocatorHandle);

Modified: trunk/Source/WTF/wtf/RefCountedArray.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/RefCountedArray.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/RefCountedArray.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/RefCountedArray.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(RefCountedArray);

Modified: trunk/Source/WTF/wtf/SegmentedVector.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/SegmentedVector.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/SegmentedVector.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/SegmentedVector.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(SegmentedVector);

Modified: trunk/Source/WTF/wtf/SmallPtrSet.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/SmallPtrSet.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/SmallPtrSet.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/SmallPtrSet.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(SmallPtrSet);

Modified: trunk/Source/WTF/wtf/UniqueArray.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/UniqueArray.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/UniqueArray.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/UniqueArray.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(UniqueArray);

Modified: trunk/Source/WTF/wtf/Vector.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/Vector.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/Vector.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "Vector.h"
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(Vector);

Modified: trunk/Source/WTF/wtf/text/CString.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/text/CString.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/text/CString.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -29,6 +29,7 @@
 
 #include <string.h>
 #include <wtf/CheckedArithmetic.h>
+#include <wtf/NeverDestroyed.h>
 #include <wtf/text/StringHasher.h>
 
 namespace WTF {

Modified: trunk/Source/WTF/wtf/text/StringBuffer.cpp (271920 => 271921)


--- trunk/Source/WTF/wtf/text/StringBuffer.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WTF/wtf/text/StringBuffer.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include <wtf/text/StringBuffer.h>
 
+#include <wtf/NeverDestroyed.h>
+
 namespace WTF {
 
 DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(StringBuffer);

Modified: trunk/Source/WebCore/ChangeLog (271920 => 271921)


--- trunk/Source/WebCore/ChangeLog	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/ChangeLog	2021-01-27 00:32:32 UTC (rev 271921)
@@ -1,3 +1,31 @@
+2021-01-26  Saam Barati  <[email protected]>
+
+        Revive the build when MALLOC_HEAP_BREAKDOWN is enabled
+        https://bugs.webkit.org/show_bug.cgi?id=220999
+
+        Reviewed by Yusuke Suzuki.
+
+        * display/css/DisplayBox.cpp:
+        * display/css/DisplayBox.h:
+        * display/css/DisplayBoxClip.cpp:
+        * display/css/DisplayBoxClip.h:
+        * display/css/DisplayBoxDecorationData.cpp:
+        * display/css/DisplayBoxDecorationData.h:
+        * display/css/DisplayBoxModelBox.cpp:
+        * display/css/DisplayBoxModelBox.h:
+        * display/css/DisplayBoxRareGeometry.cpp:
+        * display/css/DisplayBoxRareGeometry.h:
+        * display/css/DisplayContainerBox.cpp:
+        * display/css/DisplayContainerBox.h:
+        * display/css/DisplayImageBox.cpp:
+        * display/css/DisplayImageBox.h:
+        * display/css/DisplayReplacedBox.cpp:
+        * display/css/DisplayReplacedBox.h:
+        * display/css/DisplayStyle.cpp:
+        * display/css/DisplayStyle.h:
+        * display/css/DisplayTextBox.cpp:
+        * display/css/DisplayTextBox.h:
+
 2021-01-26  Devin Rousso  <[email protected]>
 
         Expose the value of `<meta name="theme-color" content="...">` as SPI

Modified: trunk/Source/WebCore/display/css/DisplayBox.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBox.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBox.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -37,6 +37,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(Box);
+
 Box::Box(Tree& tree, AbsoluteFloatRect absoluteRect, Style&& displayStyle, OptionSet<TypeFlags> flags)
     : m_tree(tree)
     , m_absoluteBoxRect(absoluteRect)

Modified: trunk/Source/WebCore/display/css/DisplayBox.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBox.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBox.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -41,6 +41,7 @@
 // FIXME: Make this a strong type.
 using AbsoluteFloatRect = FloatRect;
 
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(Box);
 class Box {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(Box);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayBoxClip.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxClip.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxClip.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -33,6 +33,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxClip);
+
 BoxClip::BoxClip() = default;
 BoxClip::~BoxClip() = default;
 

Modified: trunk/Source/WebCore/display/css/DisplayBoxClip.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxClip.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxClip.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -46,6 +46,7 @@
 
 namespace Display {
 
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxClip);
 class BoxClip : public RefCounted<BoxClip> {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(BoxClip);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayBoxDecorationData.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxDecorationData.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxDecorationData.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -33,6 +33,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxDecorationData);
+
 BorderEdge::BorderEdge(float width, float innerWidth, float outerWidth, Color color, BorderStyle style, bool isTransparent, bool isPresent)
     : m_color(color)
     , m_width(width)

Modified: trunk/Source/WebCore/display/css/DisplayBoxDecorationData.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxDecorationData.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxDecorationData.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -93,6 +93,7 @@
 }
 
 // Per-box data with pixel-snapped geometry for background images and border-radius.
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxDecorationData);
 class BoxDecorationData {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(BoxDecorationData);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayBoxModelBox.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxModelBox.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxModelBox.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -38,6 +38,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxModelBox);
+
 BoxModelBox::BoxModelBox(Tree& tree, AbsoluteFloatRect borderBox, Style&& displayStyle, OptionSet<TypeFlags> flags)
     : Box(tree, borderBox, WTFMove(displayStyle), flags | TypeFlags::BoxModelBox)
 {

Modified: trunk/Source/WebCore/display/css/DisplayBoxModelBox.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxModelBox.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxModelBox.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -39,6 +39,7 @@
 
 // A box in the sense of the CSS Box Model.
 // This box can draw backgrounds and borders.
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxModelBox);
 class BoxModelBox : public Box {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(BoxModelBox);
     friend class BoxFactory;

Modified: trunk/Source/WebCore/display/css/DisplayBoxRareGeometry.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxRareGeometry.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxRareGeometry.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -33,6 +33,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxRareGeometry);
+
 bool BoxRareGeometry::hasBorderRadius() const
 {
     return m_borderRadii && !m_borderRadii->isZero();

Modified: trunk/Source/WebCore/display/css/DisplayBoxRareGeometry.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayBoxRareGeometry.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayBoxRareGeometry.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -36,6 +36,7 @@
 namespace Display {
 
 // Storage for box geometry which is only used on boxes with rare style, like transforms or border-radius.
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(BoxRareGeometry);
 class BoxRareGeometry {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(BoxRareGeometry);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayContainerBox.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayContainerBox.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayContainerBox.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -35,6 +35,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ContainerBox);
+
 ContainerBox::ContainerBox(Tree& tree, AbsoluteFloatRect borderBox, Style&& displayStyle)
     : BoxModelBox(tree, borderBox, WTFMove(displayStyle), { TypeFlags::ContainerBox })
 {

Modified: trunk/Source/WebCore/display/css/DisplayContainerBox.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayContainerBox.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayContainerBox.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -32,6 +32,7 @@
 namespace WebCore {
 namespace Display {
 
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ContainerBox);
 class ContainerBox : public BoxModelBox {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(ContainerBox);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayImageBox.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayImageBox.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayImageBox.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -34,6 +34,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ImageBox);
+
 ImageBox::ImageBox(Tree& tree, AbsoluteFloatRect borderBox, Style&& displayStyle, RefPtr<Image>&& image)
     : ReplacedBox(tree, borderBox, WTFMove(displayStyle), { TypeFlags::ImageBox })
     , m_image(WTFMove(image))

Modified: trunk/Source/WebCore/display/css/DisplayImageBox.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayImageBox.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayImageBox.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -37,6 +37,7 @@
 
 class Style;
 
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ImageBox);
 class ImageBox : public ReplacedBox {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(ImageBox);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayReplacedBox.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayReplacedBox.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayReplacedBox.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -33,6 +33,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ReplacedBox);
+
 ReplacedBox::ReplacedBox(Tree& tree, AbsoluteFloatRect borderBox, Style&& displayStyle, OptionSet<TypeFlags> flags)
     : BoxModelBox(tree, borderBox, WTFMove(displayStyle), flags)
 {

Modified: trunk/Source/WebCore/display/css/DisplayReplacedBox.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayReplacedBox.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayReplacedBox.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -32,6 +32,7 @@
 namespace WebCore {
 namespace Display {
 
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(ReplacedBox);
 class ReplacedBox : public BoxModelBox {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(ReplacedBox);
     friend class BoxFactory;

Modified: trunk/Source/WebCore/display/css/DisplayStyle.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayStyle.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayStyle.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -37,6 +37,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(Style);
+
 static RefPtr<FillLayer> deepCopy(const FillLayer& layer)
 {
     RefPtr<FillLayer> firstLayer;

Modified: trunk/Source/WebCore/display/css/DisplayStyle.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayStyle.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayStyle.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -50,6 +50,8 @@
 // All colors should be resolved to their painted values [visitedDependentColorWithColorFilter()].
 // Should contain only absolute float values; no Lengths (which can contain calc values).
 // Should be sharable between boxes with different geometry but the same style.
+
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(Style);
 class Style {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(Style);
 public:

Modified: trunk/Source/WebCore/display/css/DisplayTextBox.cpp (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayTextBox.cpp	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayTextBox.cpp	2021-01-27 00:32:32 UTC (rev 271921)
@@ -34,6 +34,8 @@
 namespace WebCore {
 namespace Display {
 
+DEFINE_ALLOCATOR_WITH_HEAP_IDENTIFIER(TextBox);
+
 TextBox::TextBox(Tree& tree, AbsoluteFloatRect borderBox, Style&& displayStyle, const Layout::LineRun& lineRun)
     : Box(tree, borderBox, WTFMove(displayStyle), { TypeFlags::TextBox })
     , m_expansion(lineRun.expansion())

Modified: trunk/Source/WebCore/display/css/DisplayTextBox.h (271920 => 271921)


--- trunk/Source/WebCore/display/css/DisplayTextBox.h	2021-01-27 00:31:23 UTC (rev 271920)
+++ trunk/Source/WebCore/display/css/DisplayTextBox.h	2021-01-27 00:32:32 UTC (rev 271921)
@@ -33,6 +33,8 @@
 namespace WebCore {
 namespace Display {
 
+DECLARE_ALLOCATOR_WITH_HEAP_IDENTIFIER(TextBox);
+
 class TextBox : public Box {
     WTF_MAKE_FAST_ALLOCATED_WITH_HEAP_IDENTIFIER(TextBox);
 public:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to