Skip to content

Instantly share code, notes, and snippets.

@lauromoura
Last active September 23, 2022 04:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lauromoura/1b309dcff9377de10843df3f00aa6b96 to your computer and use it in GitHub Desktop.
Save lauromoura/1b309dcff9377de10843df3f00aa6b96 to your computer and use it in GitHub Desktop.
Partial non-unified build fixes: Early spring edition
From 324ef779c3ed2dd788ba0a8e53ab6eb583974154 Mon Sep 17 00:00:00 2001
From: Lauro Moura <lmoura@igalia.com>
Date: Fri, 23 Sep 2022 04:43:24 +0000
Subject: [PATCH] WIP
---
Source/JavaScriptCore/dfg/DFGOperations.cpp | 1 +
Source/WebCore/bindings/js/JSElementInternalsCustom.cpp | 7 +++++++
Source/WebCore/css/ComputedStyleExtractor.cpp | 2 ++
Source/WebCore/dom/CustomElementDefaultARIA.cpp | 3 +++
Source/WebCore/dom/CustomElementDefaultARIA.h | 1 +
Source/WebCore/html/canvas/ImageBitmapRenderingContext.h | 1 +
.../layout/formattingContexts/FormattingContext.cpp | 1 +
.../WebCore/layout/formattingContexts/FormattingQuirks.cpp | 1 +
8 files changed, 17 insertions(+)
diff --git a/Source/JavaScriptCore/dfg/DFGOperations.cpp b/Source/JavaScriptCore/dfg/DFGOperations.cpp
index e34ad2c68900..9b303ce77fcf 100644
--- a/Source/JavaScriptCore/dfg/DFGOperations.cpp
+++ b/Source/JavaScriptCore/dfg/DFGOperations.cpp
@@ -44,6 +44,7 @@
#include "FrameTracers.h"
#include "HasOwnPropertyCache.h"
#include "Interpreter.h"
+#include "InterpreterInlines.h"
#include "JITCodeInlines.h"
#include "JITWorklist.h"
#include "JSArrayInlines.h"
diff --git a/Source/WebCore/bindings/js/JSElementInternalsCustom.cpp b/Source/WebCore/bindings/js/JSElementInternalsCustom.cpp
index c920f9b4fc2f..e3f5ade7197c 100644
--- a/Source/WebCore/bindings/js/JSElementInternalsCustom.cpp
+++ b/Source/WebCore/bindings/js/JSElementInternalsCustom.cpp
@@ -27,6 +27,13 @@
#include "JSElementInternals.h"
#include "HTMLNames.h"
+#include "IDLTypes.h"
+#include "JSDOMConvertInterface.h"
+#include "JSDOMConvertNullable.h"
+#include "JSDOMConvertSequences.h"
+#include "JSElement.h"
+#include "WebCoreJSClientData.h"
+#include <JavaScriptCore/ObjectConstructor.h>
namespace WebCore {
using namespace JSC;
diff --git a/Source/WebCore/css/ComputedStyleExtractor.cpp b/Source/WebCore/css/ComputedStyleExtractor.cpp
index 7ad485c52c69..c651af288e11 100644
--- a/Source/WebCore/css/ComputedStyleExtractor.cpp
+++ b/Source/WebCore/css/ComputedStyleExtractor.cpp
@@ -38,6 +38,7 @@
#include "CSSGridLineNamesValue.h"
#include "CSSGridTemplateAreasValue.h"
#include "CSSPrimitiveValueMappings.h"
+#include "CSSProperty.h"
#include "CSSPropertyAnimation.h"
#include "CSSRayValue.h"
#include "CSSReflectValue.h"
@@ -61,6 +62,7 @@
#include "SVGElement.h"
#include "StylePropertyShorthand.h"
#include "StylePropertyShorthandFunctions.h"
+#include "StyleResolver.h"
#include "StyleScope.h"
#include "Styleable.h"
diff --git a/Source/WebCore/dom/CustomElementDefaultARIA.cpp b/Source/WebCore/dom/CustomElementDefaultARIA.cpp
index 24cc3793dc6d..6e65a9f1a9a7 100644
--- a/Source/WebCore/dom/CustomElementDefaultARIA.cpp
+++ b/Source/WebCore/dom/CustomElementDefaultARIA.cpp
@@ -26,6 +26,9 @@
#include "config.h"
#include "CustomElementDefaultARIA.h"
+#include "Element.h"
+#include "HTMLNames.h"
+#include "SpaceSplitString.h"
#include <wtf/IsoMallocInlines.h>
#include <wtf/StdLibExtras.h>
diff --git a/Source/WebCore/dom/CustomElementDefaultARIA.h b/Source/WebCore/dom/CustomElementDefaultARIA.h
index cb0a147dc6aa..b4fc68c5cf6e 100644
--- a/Source/WebCore/dom/CustomElementDefaultARIA.h
+++ b/Source/WebCore/dom/CustomElementDefaultARIA.h
@@ -34,6 +34,7 @@
namespace WebCore {
+class Element;
class WeakPtrImplWithEventTargetData;
class CustomElementDefaultARIA {
diff --git a/Source/WebCore/html/canvas/ImageBitmapRenderingContext.h b/Source/WebCore/html/canvas/ImageBitmapRenderingContext.h
index 936269c762b9..f66f35d97729 100644
--- a/Source/WebCore/html/canvas/ImageBitmapRenderingContext.h
+++ b/Source/WebCore/html/canvas/ImageBitmapRenderingContext.h
@@ -36,6 +36,7 @@ namespace WebCore {
class ImageBitmap;
class ImageBuffer;
+class OffscreenCanvas;
#if ENABLE(OFFSCREEN_CANVAS)
using ImageBitmapCanvas = std::variant<RefPtr<HTMLCanvasElement>, RefPtr<OffscreenCanvas>>;
diff --git a/Source/WebCore/layout/formattingContexts/FormattingContext.cpp b/Source/WebCore/layout/formattingContexts/FormattingContext.cpp
index 3043f9701dcb..6508edf2cb37 100644
--- a/Source/WebCore/layout/formattingContexts/FormattingContext.cpp
+++ b/Source/WebCore/layout/formattingContexts/FormattingContext.cpp
@@ -32,6 +32,7 @@
#include "LayoutBox.h"
#include "LayoutBoxGeometry.h"
#include "LayoutContainerBox.h"
+#include "LayoutContainingBlockChainIterator.h"
#include "LayoutContext.h"
#include "LayoutDescendantIterator.h"
#include "LayoutInitialContainingBlock.h"
diff --git a/Source/WebCore/layout/formattingContexts/FormattingQuirks.cpp b/Source/WebCore/layout/formattingContexts/FormattingQuirks.cpp
index 7dcf93e87f3b..e5416318696e 100644
--- a/Source/WebCore/layout/formattingContexts/FormattingQuirks.cpp
+++ b/Source/WebCore/layout/formattingContexts/FormattingQuirks.cpp
@@ -29,6 +29,7 @@
#include "FormattingGeometry.h"
#include "LayoutBox.h"
#include "LayoutBoxGeometry.h"
+#include "LayoutContainingBlockChainIterator.h"
#include "LayoutInitialContainingBlock.h"
#include "LayoutState.h"
--
2.32.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment