Skip to content

Commit

Permalink
Non-unified build fixes, late August 2023 edition
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=260885

Unreviewed non-unified build fix.

* Source/JavaScriptCore/parser/ParserArena.h:
* Source/JavaScriptCore/runtime/NativeCallee.h:
* Source/JavaScriptCore/runtime/NumberPredictionFuzzerAgent.cpp:
* Source/WebCore/Modules/webtransport/WebTransport.cpp:
* Source/WebCore/Modules/webtransport/WebTransport.h:
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.cpp:
* Source/WebCore/Modules/webtransport/WebTransportBidirectionalStream.h:
* Source/WebCore/Modules/webtransport/WebTransportDatagramDuplexStream.h:
* Source/WebCore/Modules/webtransport/WebTransportReceiveStream.cpp:
* Source/WebCore/Modules/webtransport/WebTransportReceiveStream.h:
* Source/WebCore/Modules/webtransport/WebTransportSendStream.cpp:
* Source/WebCore/Modules/webtransport/WebTransportSendStream.h:
* Source/WebCore/bindings/js/WorkerModuleScriptLoader.cpp:
* Source/WebCore/css/CSSFunctionValue.cpp:
* Source/WebCore/dom/IdleDeadline.cpp:
* Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
* Source/WebCore/html/canvas/WebGLTransformFeedback.h:
* Source/WebCore/layout/formattingContexts/inline/AbstractLineBuilder.h:
* Source/WebCore/layout/formattingContexts/inline/InlineContentBalancer.cpp:
* Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp:
* Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.h:
* Source/WebCore/layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp:
* Source/WebCore/page/Page.cpp:
* Source/WebCore/rendering/BaselineAlignment.cpp:
* Source/WebCore/rendering/CounterNode.h:
* Source/WebKit/GPUProcess/media/RemoteMediaPlayerManagerProxy.cpp:
* Source/WebKit/UIProcess/BackgroundProcessResponsivenessTimer.h:
* Source/WebKit/UIProcess/PageLoadState.cpp:
(WebKit::PageLoadState::didCommitLoad):
* Source/WebKit/UIProcess/RemotePageProxy.cpp:
* Source/WebKit/WebProcess/WebCoreSupport/WebProgressTrackerClient.h:

Canonical link: https://commits.webkit.org/267453@main
  • Loading branch information
donny-dont committed Aug 30, 2023
1 parent 469475b commit f7d8240
Show file tree
Hide file tree
Showing 30 changed files with 63 additions and 2 deletions.
1 change: 1 addition & 0 deletions Source/JavaScriptCore/parser/ParserArena.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include "CommonIdentifiers.h"
#include "Identifier.h"
#include "MathCommon.h"
#include <array>
#include <type_traits>
#include <wtf/SegmentedVector.h>
Expand Down
1 change: 1 addition & 0 deletions Source/JavaScriptCore/runtime/NativeCallee.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#pragma once

#include "ImplementationVisibility.h"
#include <wtf/ThreadSafeRefCounted.h>

namespace JSC {

Expand Down
3 changes: 3 additions & 0 deletions Source/JavaScriptCore/runtime/NumberPredictionFuzzerAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

#include "config.h"
#include "NumberPredictionFuzzerAgent.h"

#include "Options.h"
#include <wtf/NeverDestroyed.h>

namespace JSC {
Expand All @@ -45,4 +47,5 @@ Vector<SpeculatedType> NumberPredictionFuzzerAgent::bytecodeNumberTypes()
});
return s_bytecodeNumberTypes;
}

} // namespace JSC
1 change: 1 addition & 0 deletions Source/WebCore/Modules/webtransport/WebTransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "WebTransportDatagramDuplexStream.h"
#include "WebTransportReliabilityMode.h"
#include <JavaScriptCore/JSGlobalObject.h>
#include <wtf/RunLoop.h>

namespace WebCore {

Expand Down
4 changes: 4 additions & 0 deletions Source/WebCore/Modules/webtransport/WebTransport.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#pragma once

#include "ExceptionOr.h"
#include <wtf/RefCounted.h>

namespace JSC {
Expand All @@ -35,6 +36,9 @@ namespace WebCore {

enum class WebTransportReliabilityMode : uint8_t;
enum class WebTransportCongestionControl : uint8_t;
class DOMPromise;
class DeferredPromise;
class ReadableStream;
class WebTransportDatagramDuplexStream;
struct WebTransportSendStreamOptions;
struct WebTransportOptions;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#include "config.h"
#include "WebTransportBidirectionalStream.h"

#include "WebTransportReceiveStream.h"
#include "WebTransportSendStream.h"

namespace WebCore {

ExceptionOr<Ref<WebTransportReceiveStream>> WebTransportBidirectionalStream::readable()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#pragma once

#include "ExceptionOr.h"
#include <wtf/RefCounted.h>

namespace WebCore {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

#pragma once

#include "ExceptionOr.h"
#include <wtf/RefCounted.h>

namespace JSC {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "config.h"
#include "WebTransportReceiveStream.h"

#include "JSDOMPromiseDeferred.h"

namespace WebCore {

void WebTransportReceiveStream::getStats(Ref<DeferredPromise>&& promise)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

namespace WebCore {

class DeferredPromise;

class WebTransportReceiveStream : public ReadableStream {
public:
void getStats(Ref<DeferredPromise>&&);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#include "config.h"
#include "WebTransportSendStream.h"

#include "JSDOMPromiseDeferred.h"

namespace WebCore {

void WebTransportSendStream::getStats(Ref<DeferredPromise>&& promise)
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/Modules/webtransport/WebTransportSendStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

namespace WebCore {

class DeferredPromise;

class WebTransportSendStream : public WritableStream {
public:
void getStats(Ref<DeferredPromise>&&);
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/bindings/js/WorkerModuleScriptLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "WorkerModuleScriptLoader.h"

#include "CachedScriptFetcher.h"
#include "ContentSecurityPolicy.h"
#include "DOMWrapperWorld.h"
#include "JSDOMBinding.h"
#include "JSDOMPromiseDeferred.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/CSSFunctionValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "CSSFunctionValue.h"

#include "CSSValueKeywords.h"
#include <wtf/Hasher.h>
#include <wtf/text/StringBuilder.h>
#include <wtf/text/WTFString.h>

Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/dom/IdleDeadline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "Document.h"
#include "LocalDOMWindow.h"
#include "Performance.h"
#include "WindowEventLoop.h"
#include <wtf/RefPtr.h>

namespace WebCore {
Expand Down
15 changes: 15 additions & 0 deletions Source/WebCore/html/canvas/WebGLRenderingContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,35 @@
#include "CachedImage.h"
#include "EXTBlendMinMax.h"
#include "EXTClipControl.h"
#include "EXTColorBufferFloat.h"
#include "EXTColorBufferHalfFloat.h"
#include "EXTConservativeDepth.h"
#include "EXTDepthClamp.h"
#include "EXTDisjointTimerQuery.h"
#include "EXTDisjointTimerQueryWebGL2.h"
#include "EXTFloatBlend.h"
#include "EXTFragDepth.h"
#include "EXTPolygonOffsetClamp.h"
#include "EXTRenderSnorm.h"
#include "EXTShaderTextureLOD.h"
#include "EXTTextureCompressionBPTC.h"
#include "EXTTextureCompressionRGTC.h"
#include "EXTTextureFilterAnisotropic.h"
#include "EXTTextureMirrorClampToEdge.h"
#include "EXTTextureNorm16.h"
#include "EXTsRGB.h"
#include "HTMLCanvasElement.h"
#include "HTMLImageElement.h"
#include "HTMLVideoElement.h"
#include "ImageData.h"
#include "InspectorInstrumentation.h"
#include "KHRParallelShaderCompile.h"
#include "NVShaderNoperspectiveInterpolation.h"
#include "OESDrawBuffersIndexed.h"
#include "OESElementIndexUint.h"
#include "OESFBORenderMipmap.h"
#include "OESSampleVariables.h"
#include "OESShaderMultisampleInterpolation.h"
#include "OESStandardDerivatives.h"
#include "OESTextureFloat.h"
#include "OESTextureFloatLinear.h"
Expand All @@ -62,6 +71,7 @@
#include "WebCodecsVideoFrame.h"
#include "WebCoreOpaqueRootInlines.h"
#include "WebGLBuffer.h"
#include "WebGLClipCullDistance.h"
#include "WebGLColorBufferFloat.h"
#include "WebGLCompressedTextureASTC.h"
#include "WebGLCompressedTextureETC.h"
Expand All @@ -73,13 +83,18 @@
#include "WebGLDebugShaders.h"
#include "WebGLDepthTexture.h"
#include "WebGLDrawBuffers.h"
#include "WebGLDrawInstancedBaseVertexBaseInstance.h"
#include "WebGLFramebuffer.h"
#include "WebGLLoseContext.h"
#include "WebGLMultiDraw.h"
#include "WebGLMultiDrawInstancedBaseVertexBaseInstance.h"
#include "WebGLPolygonMode.h"
#include "WebGLProgram.h"
#include "WebGLProvokingVertex.h"
#include "WebGLRenderSharedExponent.h"
#include "WebGLRenderbuffer.h"
#include "WebGLSampler.h"
#include "WebGLStencilTexturing.h"
#include "WebGLTexture.h"
#include "WebGLTransformFeedback.h"
#include "WebGLVertexArrayObject.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/canvas/WebGLTransformFeedback.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#if ENABLE(WEBGL)

#include "GraphicsContextGL.h"
#include "WebGLObject.h"
#include <wtf/RefPtr.h>
#include <wtf/Vector.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
#pragma once

#include "FloatingState.h"
#include "InlineLine.h"
#include "InlineLineTypes.h"
#include "InlineRect.h"
#include "LayoutUnits.h"

namespace WebCore {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "InlineContentBalancer.h"

#include "InlineLineBuilder.h"
#include "RenderStyleInlines.h"
#include <limits>

namespace WebCore {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "InlineFormattingContext.h"
#include "InlineLineBuilder.h"
#include "LayoutElementBox.h"
#include "RenderStyleInlines.h"
#include "TextOnlySimpleLineBuilder.h"

namespace WebCore {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,17 @@

#pragma once

#include "AbstractLineBuilder.h"

namespace WebCore {
namespace Layout {

class AbstractLineBuilder;
class ElementBox;
class InlineFormattingContext;
class InlineFormattingState;

struct IntrinsicWidthConstraints;

class IntrinsicWidthHandler {
public:
IntrinsicWidthHandler(const InlineFormattingContext&);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
#include "config.h"
#include "TextOnlySimpleLineBuilder.h"

#include "InlineFormattingContext.h"
#include "RenderStyleInlines.h"

namespace WebCore {
namespace Layout {

Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/page/Page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "BackForwardCache.h"
#include "BackForwardClient.h"
#include "BackForwardController.h"
#include "BadgeClient.h"
#include "BroadcastChannelRegistry.h"
#include "CacheStorageProvider.h"
#include "CachedImage.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/rendering/BaselineAlignment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,13 @@
* (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 "BaselineAlignment.h"

#include "BaselineAlignmentInlines.h"
#include "RenderBox.h"
#include "RenderStyleInlines.h"

namespace WebCore {

Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/rendering/CounterNode.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

#include <wtf/CheckedPtr.h>
#include <wtf/Forward.h>
#include <wtf/OptionSet.h>
#include <wtf/RefCounted.h>

// This implements a counter tree that is used for finding parents in counters() lookup,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "RemoteMediaPlayerManagerProxyMessages.h"
#include "RemoteMediaPlayerProxy.h"
#include "RemoteMediaPlayerProxyConfiguration.h"
#include "RemoteVideoFrameObjectHeap.h"
#include "ScopedRenderingResourcesRequest.h"
#include "WebCoreArgumentCoders.h"
#include <WebCore/MediaPlayer.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#pragma once

#include "ResponsivenessTimer.h"
#include <wtf/CheckedRef.h>
#include <wtf/RunLoop.h>

namespace WebKit {
Expand Down
2 changes: 1 addition & 1 deletion Source/WebKit/UIProcess/PageLoadState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ void PageLoadState::didFailProvisionalLoad(const Transaction::Token& token)
m_uncommittedState.unreachableURL = m_lastUnreachableURL;
}

void PageLoadState::didCommitLoad(const Transaction::Token& token, const WebCore::CertificateInfo& certificateInfo, bool hasInsecureContent, bool usedLegacyTLS, bool wasPrivateRelayed, const SecurityOriginData& origin)
void PageLoadState::didCommitLoad(const Transaction::Token& token, const WebCore::CertificateInfo& certificateInfo, bool hasInsecureContent, bool usedLegacyTLS, bool wasPrivateRelayed, const WebCore::SecurityOriginData& origin)
{
ASSERT_UNUSED(token, &token.m_pageLoadState == this);
ASSERT(m_uncommittedState.state == State::Provisional);
Expand Down
2 changes: 2 additions & 0 deletions Source/WebKit/UIProcess/RemotePageProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@

#include "APIWebsitePolicies.h"
#include "DrawingAreaProxy.h"
#include "FormDataReference.h"
#include "FrameInfoData.h"
#include "HandleMessage.h"
#include "NavigationActionData.h"
#include "RemotePageDrawingAreaProxy.h"
#include "RemotePageVisitedLinkStoreRegistration.h"
#include "WebFrameProxy.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#define WebProgressTrackerClient_h

#include <WebCore/ProgressTrackerClient.h>
#include <wtf/WeakPtr.h>

namespace WebKit {

Expand Down

0 comments on commit f7d8240

Please sign in to comment.