Diff
Modified: trunk/Source/WebCore/ChangeLog (225711 => 225712)
--- trunk/Source/WebCore/ChangeLog 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/ChangeLog 2017-12-08 23:32:16 UTC (rev 225712)
@@ -1,3 +1,31 @@
+2017-12-08 Zalan Bujtas <[email protected]>
+
+ Make inline box objects IsoHeap allocated.
+ https://bugs.webkit.org/show_bug.cgi?id=180556
+ <rdar://problem/35923629>
+
+ Reviewed by Filip Pizlo.
+
+ * rendering/EllipsisBox.cpp:
+ * rendering/EllipsisBox.h:
+ * rendering/InlineBox.cpp:
+ * rendering/InlineBox.h:
+ * rendering/InlineElementBox.cpp:
+ * rendering/InlineElementBox.h:
+ * rendering/InlineFlowBox.cpp:
+ * rendering/InlineFlowBox.h:
+ * rendering/InlineTextBox.cpp:
+ * rendering/InlineTextBox.h:
+ * rendering/RootInlineBox.cpp:
+ * rendering/RootInlineBox.h:
+ * rendering/TrailingFloatsRootInlineBox.h:
+ * rendering/svg/SVGInlineFlowBox.cpp:
+ * rendering/svg/SVGInlineFlowBox.h:
+ * rendering/svg/SVGInlineTextBox.cpp:
+ * rendering/svg/SVGInlineTextBox.h:
+ * rendering/svg/SVGRootInlineBox.cpp:
+ * rendering/svg/SVGRootInlineBox.h:
+
2017-12-08 Chris Dumez <[email protected]>
Clearing all Website Data should remove service worker registrations on disk
Modified: trunk/Source/WebCore/Sources.txt (225711 => 225712)
--- trunk/Source/WebCore/Sources.txt 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/Sources.txt 2017-12-08 23:32:16 UTC (rev 225712)
@@ -1857,6 +1857,7 @@
rendering/TextDecorationPainter.cpp
rendering/TextPaintStyle.cpp
rendering/TextPainter.cpp
+rendering/TrailingFloatsRootInlineBox.cpp
rendering/line/LineBreaker.cpp
rendering/line/LineInfo.cpp
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (225711 => 225712)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2017-12-08 23:32:16 UTC (rev 225712)
@@ -4672,8 +4672,8 @@
FA654A6C1108ABED002615E0 /* MathMLTokenElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA654A6A1108ABED002615E0 /* MathMLTokenElement.h */; };
FA654A6C1108ABED002616F1 /* MathMLOperatorElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA654A6A1108ABED002616F1 /* MathMLOperatorElement.h */; };
FA654A6C1108ABED002626F1 /* MathMLUnderOverElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA654A6A1108ABED002626F1 /* MathMLUnderOverElement.h */; };
+ FA765A6C1108ABED002615E0 /* MathMLRowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA765A6A1108ABED002615E0 /* MathMLRowElement.h */; };
FA765A6C1108ABED00782A5C /* MathMLRootElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA765A6A1108ABED00782A5C /* MathMLRootElement.h */; };
- FA765A6C1108ABED002615E0 /* MathMLRowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FA765A6A1108ABED002615E0 /* MathMLRowElement.h */; };
FABE72F51059C1EB00D888CC /* MathMLAnnotationElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FABE72EE1059C1EB00D888CC /* MathMLAnnotationElement.h */; };
FABE72F51059C1EB00D999DD /* MathMLElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FABE72EE1059C1EB00D999DD /* MathMLElement.h */; };
FABE72F71059C1EB00D999DD /* MathMLPresentationElement.h in Headers */ = {isa = PBXBuildFile; fileRef = FABE72F01059C1EB00D999DD /* MathMLPresentationElement.h */; };
@@ -5544,6 +5544,7 @@
0FFD4D5E18651FA300512F6E /* AsyncScrollingCoordinator.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AsyncScrollingCoordinator.cpp; sourceTree = "<group>"; };
0FFD4D5F18651FA300512F6E /* AsyncScrollingCoordinator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AsyncScrollingCoordinator.h; sourceTree = "<group>"; };
10FB084A14E15C7E00A3DB98 /* PublicURLManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PublicURLManager.h; sourceTree = "<group>"; };
+ 1100FC6E1FDB3C4D00DD961B /* TrailingFloatsRootInlineBox.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = TrailingFloatsRootInlineBox.cpp; sourceTree = "<group>"; };
112B34D01E60B8A700BB310A /* SimpleLineLayoutPagination.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SimpleLineLayoutPagination.cpp; sourceTree = "<group>"; };
112B34D41E60B98300BB310A /* SimpleLineLayoutPagination.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SimpleLineLayoutPagination.h; sourceTree = "<group>"; };
113D0B4F1F9FDD2B00F611BB /* LayoutContext.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = LayoutContext.cpp; sourceTree = "<group>"; };
@@ -14103,10 +14104,10 @@
FA654A6A1108ABED002616F1 /* MathMLOperatorElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLOperatorElement.h; sourceTree = "<group>"; };
FA654A6A1108ABED002626F1 /* MathMLUnderOverElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLUnderOverElement.h; sourceTree = "<group>"; };
FA6E466FCD0418A9966A5B60 /* DNSResolveQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DNSResolveQueue.h; sourceTree = "<group>"; };
+ FA765A691108ABED002615E0 /* MathMLRowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLRowElement.cpp; sourceTree = "<group>"; };
FA765A691108ABED00782A5C /* MathMLRootElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLRootElement.cpp; sourceTree = "<group>"; };
+ FA765A6A1108ABED002615E0 /* MathMLRowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLRowElement.h; sourceTree = "<group>"; };
FA765A6A1108ABED00782A5C /* MathMLRootElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLRootElement.h; sourceTree = "<group>"; };
- FA765A691108ABED002615E0 /* MathMLRowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLRowElement.cpp; sourceTree = "<group>"; };
- FA765A6A1108ABED002615E0 /* MathMLRowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLRowElement.h; sourceTree = "<group>"; };
FABE72ED1059C1EB00D888CC /* MathMLAnnotationElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLAnnotationElement.cpp; sourceTree = "<group>"; };
FABE72ED1059C1EB00D999DD /* MathMLElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MathMLElement.cpp; sourceTree = "<group>"; };
FABE72EE1059C1EB00D888CC /* MathMLAnnotationElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MathMLAnnotationElement.h; sourceTree = "<group>"; };
@@ -25081,6 +25082,7 @@
1C18DA57181AF6A500C4EF22 /* TextPainter.h */,
E4C91A0F1802343900A17F6D /* TextPaintStyle.cpp */,
E4C91A0D1802343100A17F6D /* TextPaintStyle.h */,
+ 1100FC6E1FDB3C4D00DD961B /* TrailingFloatsRootInlineBox.cpp */,
37FC96DA1104ED71003E1FAD /* TrailingFloatsRootInlineBox.h */,
BCA257141293C010007A263D /* VerticalPositionCache.h */,
);
@@ -26711,6 +26713,7 @@
BC60D6E90D28D83400B9918F /* DOMException.h in Headers */,
8399470C1F50B63E00E9D86B /* DOMFileSystem.h in Headers */,
2ED609BD1145B07100C8684E /* DOMFormData.h in Headers */,
+ 0F9DAA0F1FD1C66A0079C5B2 /* DOMGCOutputConstraint.h in Headers */,
46218ACB1F72D64E00574FBE /* DOMHighResTimeStamp.h in Headers */,
A8185F3B09765766005826D9 /* DOMImplementation.h in Headers */,
E3C99A091DC3D41C00794AD3 /* DOMJITCheckDOM.h in Headers */,
@@ -27603,7 +27606,6 @@
518F5004194CAC3A0081BAAE /* JSGamepadButton.h in Headers */,
FE80DA640E9C4703000D6F75 /* JSGeolocation.h in Headers */,
FE80DA660E9C4703000D6F75 /* JSGeoposition.h in Headers */,
- 0F9DAA0F1FD1C66A0079C5B2 /* DOMGCOutputConstraint.h in Headers */,
0FDA7C1F188322FC00C954B5 /* JSGestureEvent.h in Headers */,
8482B7521198CB6B00BFB005 /* JSHashChangeEvent.h in Headers */,
BC94D14F0C275C68006BC617 /* JSHistory.h in Headers */,
Modified: trunk/Source/WebCore/rendering/EllipsisBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/EllipsisBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/EllipsisBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -28,9 +28,12 @@
#include "PaintInfo.h"
#include "RootInlineBox.h"
#include "TextRun.h"
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(EllipsisBox);
+
EllipsisBox::EllipsisBox(RenderBlockFlow& renderer, const AtomicString& ellipsisStr, InlineFlowBox* parent, int width, int height, int y, bool firstLine, bool isHorizontal, InlineBox* markupBox)
: InlineElementBox(renderer, FloatPoint(0, y), width, firstLine, true, false, false, isHorizontal, 0, 0, parent)
, m_shouldPaintMarkupBox(markupBox)
Modified: trunk/Source/WebCore/rendering/EllipsisBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/EllipsisBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/EllipsisBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -28,6 +28,7 @@
class HitTestResult;
class EllipsisBox final : public InlineElementBox {
+ WTF_MAKE_ISO_ALLOCATED(EllipsisBox);
public:
EllipsisBox(RenderBlockFlow&, const AtomicString& ellipsisStr, InlineFlowBox* parent, int width, int height, int y, bool firstLine, bool isHorizontal, InlineBox* markupBox);
void paint(PaintInfo&, const LayoutPoint&, LayoutUnit lineTop, LayoutUnit lineBottom) override;
Modified: trunk/Source/WebCore/rendering/InlineBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -27,6 +27,7 @@
#include "RenderBlockFlow.h"
#include "RenderLineBreak.h"
#include "RootInlineBox.h"
+#include <wtf/IsoMallocInlines.h>
#include <wtf/text/TextStream.h>
#if ENABLE(TREE_DEBUGGING)
@@ -35,6 +36,8 @@
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(InlineBox);
+
struct SameSizeAsInlineBox {
virtual ~SameSizeAsInlineBox() = default;
void* a[4];
Modified: trunk/Source/WebCore/rendering/InlineBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -23,6 +23,7 @@
#include "RenderBoxModelObject.h"
#include "RenderText.h"
#include "TextFlags.h"
+#include <wtf/IsoMalloc.h>
#include <wtf/TypeCasts.h>
namespace WebCore {
@@ -34,7 +35,7 @@
// InlineBox represents a rectangle that occurs on a line. It corresponds to
// some RenderObject (i.e., it represents a portion of that RenderObject).
class InlineBox {
- WTF_MAKE_FAST_ALLOCATED;
+ WTF_MAKE_ISO_ALLOCATED(InlineBox);
public:
virtual ~InlineBox();
Modified: trunk/Source/WebCore/rendering/InlineElementBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineElementBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineElementBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -31,9 +31,12 @@
#include "RenderBlock.h"
#include "RenderBox.h"
#include "RenderLineBreak.h"
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(InlineElementBox);
+
void InlineElementBox::deleteLine()
{
if (!extracted()) {
Modified: trunk/Source/WebCore/rendering/InlineElementBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineElementBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineElementBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -30,6 +30,7 @@
namespace WebCore {
class InlineElementBox : public InlineBox {
+ WTF_MAKE_ISO_ALLOCATED(InlineElementBox);
public:
explicit InlineElementBox(RenderBoxModelObject& renderer)
: InlineBox(renderer)
Modified: trunk/Source/WebCore/rendering/InlineFlowBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineFlowBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineFlowBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -40,9 +40,12 @@
#include "RootInlineBox.h"
#include "Text.h"
#include <math.h>
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(InlineFlowBox);
+
struct SameSizeAsInlineFlowBox : public InlineBox {
void* pointers[5];
uint32_t bitfields : 23;
Modified: trunk/Source/WebCore/rendering/InlineFlowBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineFlowBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineFlowBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -38,6 +38,7 @@
typedef HashMap<const InlineTextBox*, std::pair<Vector<const Font*>, GlyphOverflow>> GlyphOverflowAndFallbackFontsMap;
class InlineFlowBox : public InlineBox {
+ WTF_MAKE_ISO_ALLOCATED(InlineFlowBox);
public:
explicit InlineFlowBox(RenderBoxModelObject& renderer)
: InlineBox(renderer)
Modified: trunk/Source/WebCore/rendering/InlineTextBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineTextBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineTextBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -50,11 +50,14 @@
#include "TextPaintStyle.h"
#include "TextPainter.h"
#include <stdio.h>
+#include <wtf/IsoMallocInlines.h>
#include <wtf/text/CString.h>
#include <wtf/text/TextStream.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(InlineTextBox);
+
struct SameSizeAsInlineTextBox : public InlineBox {
unsigned variables[1];
unsigned short variables2[2];
Modified: trunk/Source/WebCore/rendering/InlineTextBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/InlineTextBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/InlineTextBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -39,6 +39,7 @@
const unsigned short cFullTruncation = USHRT_MAX - 1;
class InlineTextBox : public InlineBox {
+ WTF_MAKE_ISO_ALLOCATED(InlineTextBox);
public:
explicit InlineTextBox(RenderText& renderer)
: InlineBox(renderer)
Modified: trunk/Source/WebCore/rendering/RenderingAllInOne.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/RenderingAllInOne.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/RenderingAllInOne.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -144,3 +144,4 @@
#include "TextDecorationPainter.cpp"
#include "TextPaintStyle.cpp"
#include "TextPainter.cpp"
+#include "TrailingFloatsRootInlineBox.cpp"
Modified: trunk/Source/WebCore/rendering/RootInlineBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/RootInlineBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/RootInlineBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -39,9 +39,12 @@
#include "RenderRubyText.h"
#include "RenderView.h"
#include "VerticalPositionCache.h"
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(RootInlineBox);
+
struct SameSizeAsRootInlineBox : public InlineFlowBox {
unsigned variables[7];
void* pointers[4];
Modified: trunk/Source/WebCore/rendering/RootInlineBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/RootInlineBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/RootInlineBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -37,6 +37,7 @@
struct GapRects;
class RootInlineBox : public InlineFlowBox {
+ WTF_MAKE_ISO_ALLOCATED(RootInlineBox);
public:
explicit RootInlineBox(RenderBlockFlow&);
virtual ~RootInlineBox();
Copied: trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.cpp (from rev 225711, trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h) (0 => 225712)
--- trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.cpp (rev 0)
+++ trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2017 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+#include "TrailingFloatsRootInlineBox.h"
+
+#include <wtf/IsoMallocInlines.h>
+
+namespace WebCore {
+
+WTF_MAKE_ISO_ALLOCATED_IMPL(TrailingFloatsRootInlineBox);
+
+} // namespace WebCore
Modified: trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/TrailingFloatsRootInlineBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -30,6 +30,7 @@
namespace WebCore {
class TrailingFloatsRootInlineBox final : public RootInlineBox {
+ WTF_MAKE_ISO_ALLOCATED(TrailingFloatsRootInlineBox);
public:
explicit TrailingFloatsRootInlineBox(RenderBlockFlow& blockFlow)
: RootInlineBox(blockFlow)
Modified: trunk/Source/WebCore/rendering/svg/SVGInlineFlowBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/svg/SVGInlineFlowBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/svg/SVGInlineFlowBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -27,9 +27,12 @@
#include "SVGInlineTextBox.h"
#include "SVGRenderingContext.h"
#include "SVGTextFragment.h"
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(SVGInlineFlowBox);
+
void SVGInlineFlowBox::paintSelectionBackground(PaintInfo& paintInfo)
{
ASSERT(paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseSelection);
Modified: trunk/Source/WebCore/rendering/svg/SVGInlineFlowBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/svg/SVGInlineFlowBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/svg/SVGInlineFlowBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -28,6 +28,7 @@
class RenderSVGInlineText;
class SVGInlineFlowBox final : public InlineFlowBox {
+ WTF_MAKE_ISO_ALLOCATED(SVGInlineFlowBox);
public:
SVGInlineFlowBox(RenderSVGInline& renderer)
: InlineFlowBox(renderer)
Modified: trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -36,9 +36,12 @@
#include "SVGResourcesCache.h"
#include "SVGRootInlineBox.h"
#include "TextPainter.h"
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(SVGInlineTextBox);
+
struct ExpectedSVGInlineTextBoxSize : public InlineTextBox {
float float1;
uint32_t bitfields : 5;
Modified: trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/svg/SVGInlineTextBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -32,6 +32,7 @@
struct SVGTextFragment;
class SVGInlineTextBox final : public InlineTextBox {
+ WTF_MAKE_ISO_ALLOCATED(SVGInlineTextBox);
public:
explicit SVGInlineTextBox(RenderSVGInlineText&);
Modified: trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.cpp (225711 => 225712)
--- trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.cpp 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.cpp 2017-12-08 23:32:16 UTC (rev 225712)
@@ -32,9 +32,12 @@
#include "SVGNames.h"
#include "SVGRenderingContext.h"
#include "SVGTextPositioningElement.h"
+#include <wtf/IsoMallocInlines.h>
namespace WebCore {
+WTF_MAKE_ISO_ALLOCATED_IMPL(SVGRootInlineBox);
+
SVGRootInlineBox::SVGRootInlineBox(RenderSVGText& renderSVGText)
: RootInlineBox(renderSVGText)
, m_logicalHeight(0)
Modified: trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.h (225711 => 225712)
--- trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.h 2017-12-08 23:13:49 UTC (rev 225711)
+++ trunk/Source/WebCore/rendering/svg/SVGRootInlineBox.h 2017-12-08 23:32:16 UTC (rev 225712)
@@ -31,6 +31,7 @@
class SVGInlineTextBox;
class SVGRootInlineBox final : public RootInlineBox {
+ WTF_MAKE_ISO_ALLOCATED(SVGRootInlineBox);
public:
explicit SVGRootInlineBox(RenderSVGText&);