Diff
Modified: trunk/Source/WebCore/ChangeLog (250765 => 250766)
--- trunk/Source/WebCore/ChangeLog 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/ChangeLog 2019-10-05 14:05:48 UTC (rev 250766)
@@ -1,3 +1,45 @@
+2019-10-05 Zalan Bujtas <za...@apple.com>
+
+ [LFC] Remove redundant includes.
+ https://bugs.webkit.org/show_bug.cgi?id=202610
+ <rdar://problem/56003250>
+
+ Reviewed by Tim Horton.
+
+ * layout/FormattingContext.h:
+ * layout/FormattingContextGeometry.cpp:
+ * layout/FormattingContextQuirks.cpp:
+ * layout/FormattingState.h:
+ * layout/LayoutContext.h:
+ * layout/LayoutState.h:
+ * layout/LayoutUnits.h:
+ * layout/blockformatting/BlockFormattingContext.cpp:
+ * layout/blockformatting/BlockFormattingContext.h:
+ * layout/blockformatting/BlockFormattingState.cpp:
+ * layout/blockformatting/BlockFormattingState.h:
+ * layout/blockformatting/BlockInvalidation.h:
+ * layout/displaytree/DisplayRect.h:
+ * layout/displaytree/DisplayRun.h:
+ * layout/floats/FloatAvoider.cpp:
+ * layout/floats/FloatAvoider.h:
+ * layout/floats/FloatBox.h:
+ * layout/floats/FloatingContext.cpp:
+ * layout/floats/FloatingContext.h:
+ * layout/floats/FloatingState.h:
+ * layout/inlineformatting/InlineFormattingContext.cpp:
+ * layout/inlineformatting/InlineFormattingContext.h:
+ * layout/inlineformatting/InlineFormattingContextGeometry.cpp:
+ * layout/inlineformatting/InlineFormattingContextQuirks.cpp:
+ * layout/inlineformatting/InlineInvalidation.h:
+ * layout/inlineformatting/InlineLine.h:
+ * layout/inlineformatting/InlineLineBreaker.cpp:
+ * layout/inlineformatting/InlineLineLayout.cpp:
+ * layout/layouttree/LayoutBox.h:
+ * layout/tableformatting/TableFormattingContext.h:
+ * layout/tableformatting/TableFormattingContextGeometry.cpp:
+ * layout/tableformatting/TableGrid.h:
+ * layout/tableformatting/TableInvalidation.h:
+
2019-10-04 Ryosuke Niwa <rn...@webkit.org>
Change "InvalidStateError" to "NotSupportedError" for attachShadow()
Modified: trunk/Source/WebCore/layout/FormattingContext.h (250765 => 250766)
--- trunk/Source/WebCore/layout/FormattingContext.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/FormattingContext.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -27,22 +27,35 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "DisplayBox.h"
-#include "LayoutBox.h"
#include "LayoutContainer.h"
-#include "LayoutState.h"
+#include "LayoutUnit.h"
+#include "LayoutUnits.h"
#include <wtf/IsoMalloc.h>
#include <wtf/WeakPtr.h>
namespace WebCore {
-class LayoutPoint;
-class LayoutUnit;
+namespace Display {
+class Box;
+}
+class LayoutSize;
+struct Length;
namespace Layout {
class Container;
+class Box;
class FormattingState;
+class LayoutState;
+struct ComputedHorizontalMargin;
+struct ComputedVerticalMargin;
+struct Edges;
+struct HeightAndMargin;
+struct HorizontalGeometry;
+struct UsedHorizontalValues;
+struct UsedVerticalValues;
+struct VerticalGeometry;
+struct WidthAndMargin;
class FormattingContext {
WTF_MAKE_ISO_ALLOCATED(FormattingContext);
Modified: trunk/Source/WebCore/layout/FormattingContextGeometry.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/FormattingContextGeometry.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/FormattingContextGeometry.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,10 +29,8 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "FloatingState.h"
-#include "FormattingState.h"
#include "InlineFormattingState.h"
#include "TableFormattingState.h"
-#include "TableGrid.h"
namespace WebCore {
namespace Layout {
Modified: trunk/Source/WebCore/layout/FormattingContextQuirks.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/FormattingContextQuirks.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/FormattingContextQuirks.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,8 +29,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "LayoutBox.h"
-#include "LayoutContainer.h"
-#include "LayoutState.h"
namespace WebCore {
namespace Layout {
Modified: trunk/Source/WebCore/layout/FormattingState.h (250765 => 250766)
--- trunk/Source/WebCore/layout/FormattingState.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/FormattingState.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -27,19 +27,16 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "FloatingState.h"
#include "FormattingContext.h"
-#include "LayoutBox.h"
#include "LayoutState.h"
-#include "LayoutUnit.h"
#include <wtf/IsoMalloc.h>
#include <wtf/WeakPtr.h>
namespace WebCore {
-
namespace Layout {
class Box;
+class FloatingState;
enum class StyleDiff;
class FormattingState {
Modified: trunk/Source/WebCore/layout/LayoutContext.h (250765 => 250766)
--- trunk/Source/WebCore/layout/LayoutContext.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/LayoutContext.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -27,8 +27,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "LayoutContainer.h"
-#include "LayoutState.h"
#include <wtf/IsoMalloc.h>
#include <wtf/OptionSet.h>
#include <wtf/WeakHashSet.h>
@@ -41,6 +39,8 @@
enum class StyleDiff;
class Box;
+class Container;
+class LayoutState;
class FormattingContext;
// LayoutContext is the entry point for layout.
Modified: trunk/Source/WebCore/layout/LayoutState.h (250765 => 250766)
--- trunk/Source/WebCore/layout/LayoutState.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/LayoutState.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -33,8 +33,6 @@
namespace WebCore {
-class RenderView;
-
namespace Display {
class Box;
}
Modified: trunk/Source/WebCore/layout/LayoutUnits.h (250765 => 250766)
--- trunk/Source/WebCore/layout/LayoutUnits.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/LayoutUnits.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,7 +29,6 @@
#include "LayoutUnit.h"
#include "LayoutPoint.h"
-#include "LayoutRect.h"
#include "MarginTypes.h"
#include <wtf/Optional.h>
Modified: trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,7 +29,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "BlockFormattingState.h"
-#include "DisplayBox.h"
#include "FloatingContext.h"
#include "FloatingState.h"
#include "LayoutBox.h"
Modified: trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.h (250765 => 250766)
--- trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/blockformatting/BlockFormattingContext.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,7 +28,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "FormattingContext.h"
-#include "MarginTypes.h"
#include <wtf/HashMap.h>
#include <wtf/IsoMalloc.h>
Modified: trunk/Source/WebCore/layout/blockformatting/BlockFormattingState.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/blockformatting/BlockFormattingState.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/blockformatting/BlockFormattingState.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,8 +28,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "BlockFormattingContext.h"
-#include "LayoutBox.h"
#include <wtf/IsoMallocInlines.h>
namespace WebCore {
Modified: trunk/Source/WebCore/layout/blockformatting/BlockFormattingState.h (250765 => 250766)
--- trunk/Source/WebCore/layout/blockformatting/BlockFormattingState.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/blockformatting/BlockFormattingState.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -31,7 +31,6 @@
#include <wtf/IsoMalloc.h>
namespace WebCore {
-
namespace Layout {
// BlockFormattingState holds the state for a particular block formatting context tree.
Modified: trunk/Source/WebCore/layout/blockformatting/BlockInvalidation.h (250765 => 250766)
--- trunk/Source/WebCore/layout/blockformatting/BlockInvalidation.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/blockformatting/BlockInvalidation.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -30,14 +30,12 @@
#include <wtf/IsoMalloc.h>
namespace WebCore {
-
namespace Layout {
class Box;
class BlockFormattingState;
-class Container;
+class LayoutContext;
struct InvalidationResult;
-class LayoutContext;
enum class StyleDiff;
// This class implements box invalidation for block formatting context.
Modified: trunk/Source/WebCore/layout/displaytree/DisplayRect.h (250765 => 250766)
--- trunk/Source/WebCore/layout/displaytree/DisplayRect.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/displaytree/DisplayRect.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -27,12 +27,10 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
+#include "LayoutRect.h"
#include "LayoutUnits.h"
namespace WebCore {
-
-class RenderStyle;
-
namespace Display {
class Rect {
Modified: trunk/Source/WebCore/layout/displaytree/DisplayRun.h (250765 => 250766)
--- trunk/Source/WebCore/layout/displaytree/DisplayRun.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/displaytree/DisplayRun.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,9 +28,7 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "DisplayRect.h"
-#include "InlineItem.h"
#include "LayoutUnit.h"
-#include "TextFlags.h"
namespace WebCore {
namespace Display {
Modified: trunk/Source/WebCore/layout/floats/FloatAvoider.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/floats/FloatAvoider.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/floats/FloatAvoider.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -30,7 +30,6 @@
#include "LayoutBox.h"
#include "LayoutContainer.h"
-#include "LayoutState.h"
#include <wtf/IsoMallocInlines.h>
namespace WebCore {
Modified: trunk/Source/WebCore/layout/floats/FloatAvoider.h (250765 => 250766)
--- trunk/Source/WebCore/layout/floats/FloatAvoider.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/floats/FloatAvoider.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,17 +29,19 @@
#include "DisplayBox.h"
#include "LayoutBox.h"
-#include "LayoutUnit.h"
+#include "LayoutPoint.h"
+#include "LayoutUnits.h"
#include <wtf/IsoMalloc.h>
#include <wtf/WeakPtr.h>
namespace WebCore {
+namespace Display {
+class Rect;
+}
+
namespace Layout {
-class FloatingState;
-class LayoutState;
-
class FloatAvoider {
WTF_MAKE_ISO_ALLOCATED(FloatAvoider);
public:
Modified: trunk/Source/WebCore/layout/floats/FloatBox.h (250765 => 250766)
--- trunk/Source/WebCore/layout/floats/FloatBox.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/floats/FloatBox.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -31,12 +31,9 @@
#include <wtf/IsoMalloc.h>
namespace WebCore {
-
namespace Layout {
class Box;
-class FloatingState;
-class LayoutState;
class FloatBox : public FloatAvoider {
WTF_MAKE_ISO_ALLOCATED(FloatBox);
Modified: trunk/Source/WebCore/layout/floats/FloatingContext.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/floats/FloatingContext.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/floats/FloatingContext.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -34,7 +34,6 @@
#include "FormattingContext.h"
#include "LayoutBox.h"
#include "LayoutContainer.h"
-#include "LayoutState.h"
#include <wtf/IsoMallocInlines.h>
namespace WebCore {
Modified: trunk/Source/WebCore/layout/floats/FloatingContext.h (250765 => 250766)
--- trunk/Source/WebCore/layout/floats/FloatingContext.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/floats/FloatingContext.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,17 +28,15 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "FloatingState.h"
-#include "FormattingContext.h"
#include "LayoutContainer.h"
#include <wtf/IsoMalloc.h>
namespace WebCore {
-
namespace Layout {
class FloatAvoider;
+class FormattingContext;
class Box;
-class FloatingPair;
class LayoutState;
// FloatingContext is responsible for adjusting the position of a box in the current formatting context
Modified: trunk/Source/WebCore/layout/floats/FloatingState.h (250765 => 250766)
--- trunk/Source/WebCore/layout/floats/FloatingState.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/floats/FloatingState.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,7 +28,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "DisplayBox.h"
-#include "LayoutBox.h"
#include "LayoutContainer.h"
#include <wtf/IsoMalloc.h>
#include <wtf/Ref.h>
@@ -36,10 +35,14 @@
namespace WebCore {
+namespace Display {
+class Box;
+}
+
namespace Layout {
+class Box;
class FloatingContext;
-class FormattingState;
class LayoutState;
// FloatingState holds the floating boxes per formatting context.
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,7 +29,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "InlineFormattingState.h"
-#include "InlineLineBreaker.h"
#include "InlineTextItem.h"
#include "LayoutBox.h"
#include "LayoutContainer.h"
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.h (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContext.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -27,10 +27,7 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "DisplayBox.h"
#include "FormattingContext.h"
-#include "InlineFormattingState.h"
-#include "InlineLine.h"
#include "InlineLineLayout.h"
#include <wtf/IsoMalloc.h>
@@ -37,9 +34,7 @@
namespace WebCore {
namespace Layout {
-class FloatingState;
-struct LineContent;
-struct LineInput;
+class InlineFormattingState;
// This class implements the layout logic for inline formatting contexts.
// https://www.w3.org/TR/CSS22/visuren.html#inline-formatting
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContextGeometry.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContextGeometry.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContextGeometry.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,11 +29,8 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "FormattingContext.h"
-#include "InlineFormattingState.h"
#include "LayoutBox.h"
#include "LayoutContainer.h"
-#include "LayoutState.h"
-#include "TextUtil.h"
namespace WebCore {
namespace Layout {
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContextQuirks.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContextQuirks.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineFormattingContextQuirks.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,9 +28,7 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "InlineItem.h"
#include "InlineLine.h"
-#include "InlineTextItem.h"
#include "LayoutState.h"
namespace WebCore {
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineInvalidation.h (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineInvalidation.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineInvalidation.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -30,14 +30,13 @@
#include <wtf/IsoMalloc.h>
namespace WebCore {
-
namespace Layout {
class Box;
class Container;
class InlineFormattingState;
+class LayoutContext;
struct InvalidationResult;
-class LayoutContext;
enum class StyleDiff;
// This class implements box invalidation for inline formatting context.
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineLine.h (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineLine.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineLine.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -29,6 +29,7 @@
#include "DisplayRun.h"
#include "InlineItem.h"
+#include "InlineLineBox.h"
#include "InlineTextItem.h"
#include <wtf/IsoMalloc.h>
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineLineBreaker.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineLineBreaker.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineLineBreaker.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -31,7 +31,6 @@
#include "Hyphenation.h"
#include "InlineItem.h"
#include "InlineTextItem.h"
-#include "LayoutState.h"
namespace WebCore {
namespace Layout {
Modified: trunk/Source/WebCore/layout/inlineformatting/InlineLineLayout.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/inlineformatting/InlineLineLayout.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/inlineformatting/InlineLineLayout.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,9 +28,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "FloatingContext.h"
-#include "FloatingState.h"
-#include "InlineFormattingState.h"
#include "LayoutBox.h"
#include "TextUtil.h"
Modified: trunk/Source/WebCore/layout/layouttree/LayoutBox.h (250765 => 250766)
--- trunk/Source/WebCore/layout/layouttree/LayoutBox.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/layouttree/LayoutBox.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -33,7 +33,6 @@
#include <wtf/WeakPtr.h>
namespace WebCore {
-
namespace Layout {
class Container;
Modified: trunk/Source/WebCore/layout/tableformatting/TableFormattingContext.h (250765 => 250766)
--- trunk/Source/WebCore/layout/tableformatting/TableFormattingContext.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/tableformatting/TableFormattingContext.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,12 +28,13 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "FormattingContext.h"
-#include "TableFormattingState.h"
+#include "TableGrid.h"
#include <wtf/IsoMalloc.h>
namespace WebCore {
namespace Layout {
+class TableFormattingState;
// This class implements the layout logic for table formatting contexts.
// https://www.w3.org/TR/CSS22/tables.html
class TableFormattingContext : public FormattingContext {
Modified: trunk/Source/WebCore/layout/tableformatting/TableFormattingContextGeometry.cpp (250765 => 250766)
--- trunk/Source/WebCore/layout/tableformatting/TableFormattingContextGeometry.cpp 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/tableformatting/TableFormattingContextGeometry.cpp 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,9 +28,7 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
-#include "FormattingContext.h"
#include "LayoutBox.h"
-#include "LayoutState.h"
namespace WebCore {
namespace Layout {
Modified: trunk/Source/WebCore/layout/tableformatting/TableGrid.h (250765 => 250766)
--- trunk/Source/WebCore/layout/tableformatting/TableGrid.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/tableformatting/TableGrid.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -28,7 +28,6 @@
#if ENABLE(LAYOUT_FORMATTING_CONTEXT)
#include "IntPointHash.h"
-#include "LayoutBox.h"
#include <wtf/HashMap.h>
#include <wtf/IsoMalloc.h>
#include <wtf/ListHashSet.h>
@@ -36,6 +35,7 @@
namespace WebCore {
namespace Layout {
+class Box;
class TableGrid {
WTF_MAKE_ISO_ALLOCATED(TableGrid);
Modified: trunk/Source/WebCore/layout/tableformatting/TableInvalidation.h (250765 => 250766)
--- trunk/Source/WebCore/layout/tableformatting/TableInvalidation.h 2019-10-05 03:15:02 UTC (rev 250765)
+++ trunk/Source/WebCore/layout/tableformatting/TableInvalidation.h 2019-10-05 14:05:48 UTC (rev 250766)
@@ -30,13 +30,12 @@
#include <wtf/IsoMalloc.h>
namespace WebCore {
-
namespace Layout {
class Box;
class TableFormattingState;
+class LayoutContext;
struct InvalidationResult;
-class LayoutContext;
enum class StyleDiff;
// This class implements box invalidation for table formatting context.