Skip to content

Commit

Permalink
Non-unified build fixes, early October 2022 edition
Browse files Browse the repository at this point in the history
Reviewed by Darin Adler.

* Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.cpp: Add
  missing JavaScriptCore/ArrayBuffer.h inclusion, move main header
  inclusion inside the ENABLE(WEB_RTC) guard to avoid it when WebRTC
  support is disabled.
* Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.cpp: Ditto.
* Source/WebCore/css/CSSComputedStyleDeclaration.cpp: Add missing
  StyleProperties.h header inclusion.
* Source/WebCore/css/CSSFontFace.h: Add missing WebCore::Document
  forward declaration.
* Source/WebCore/css/StyleSheetContents.cpp: Add missing
  StyleProperties.h header inclusion.
* Source/WebCore/css/parser/CSSParserFastPaths.cpp: Add missing
  CSSProperty.h header inclusion.
* Source/WebCore/css/parser/CSSParserImpl.h: Add missing inclusion of
  the CSSProperty.h header and forward declaration for
  WebCore::StyleRuleContainer.
* Source/WebCore/css/parser/CSSParserObserverWrapper.h: Add missing
  wtf/Vector.h header inclusion.
* Source/WebCore/css/parser/CSSSupportsParser.cpp: Add missing
  StyleRule.h header inclusion.
* Source/WebCore/display/css/DisplayBoxFactory.cpp: Add missing
  CachedImage.h header inclusion.
* Source/WebCore/dom/TreeScope.h: Add missing JSC::JSValue forward
  declaration.
* Source/WebCore/page/Page.cpp: Add missing ScreenOrientationManager.h
  header inclusion.
* Source/WebCore/page/ScreenOrientation.cpp: Add missing Page.h and
  FrameDestructionObserverInlines.h header inclusions.
* Source/WebCore/page/ScreenOrientationType.h: Add missing
  wtf/EnumTraits.h heder inclusion.
* Source/WebCore/rendering/BorderPainter.cpp: Add missing RenderBox.h
  header inclusion.
* Source/WebKit/UIProcess/ProcessThrottler.cpp: Add missing
  wtf/text/TextStream.h header inclusion.
* Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLTableSectionElement.cpp:
  Add missing WebCore/HTMLTableRowElement.h header inclusion.
* Source/WebKit/WebProcess/WebCoreSupport/WebScreenOrientationManager.cpp:
  Add missing WebPage.h header inclusion.

Canonical link: https://commits.webkit.org/255304@main
  • Loading branch information
aperezdc committed Oct 8, 2022
1 parent fbd5ebf commit 269b3d2
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Source/WebCore/Modules/mediastream/RTCEncodedAudioFrame.cpp
Expand Up @@ -24,9 +24,11 @@
*/

#include "config.h"
#include "RTCEncodedAudioFrame.h"

#if ENABLE(WEB_RTC)
#include "RTCEncodedAudioFrame.h"

#include <JavaScriptCore/ArrayBuffer.h>

namespace WebCore {

Expand Down
4 changes: 3 additions & 1 deletion Source/WebCore/Modules/mediastream/RTCEncodedVideoFrame.cpp
Expand Up @@ -24,9 +24,11 @@
*/

#include "config.h"
#include "RTCEncodedVideoFrame.h"

#if ENABLE(WEB_RTC)
#include "RTCEncodedVideoFrame.h"

#include <JavaScriptCore/ArrayBuffer.h>

namespace WebCore {

Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Expand Up @@ -37,6 +37,7 @@
#include "RenderBox.h"
#include "RenderBoxModelObject.h"
#include "RenderStyle.h"
#include "StyleProperties.h"
#include "StylePropertyShorthand.h"
#include "StyleScope.h"
#include <wtf/IsoMallocInlines.h>
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/CSSFontFace.h
Expand Up @@ -46,6 +46,7 @@ class CSSFontSelector;
class CSSSegmentedFontFace;
class CSSValue;
class CSSValueList;
class Document;
class Font;
class FontCreationContext;
class FontDescription;
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/StyleSheetContents.cpp
Expand Up @@ -37,6 +37,7 @@
#include "ResourceLoadInfo.h"
#include "RuleSet.h"
#include "SecurityOrigin.h"
#include "StyleProperties.h"
#include "StyleRule.h"
#include "StyleRuleImport.h"
#include <wtf/Deque.h>
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/parser/CSSParserFastPaths.cpp
Expand Up @@ -34,6 +34,7 @@
#include "CSSParserContext.h"
#include "CSSParserIdioms.h"
#include "CSSPrimitiveValue.h"
#include "CSSProperty.h"
#include "CSSPropertyParser.h"
#include "CSSPropertyParserHelpers.h"
#include "CSSValueList.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/css/parser/CSSParserImpl.h
Expand Up @@ -31,6 +31,7 @@

#include "CSSParser.h"
#include "CSSParserTokenRange.h"
#include "CSSProperty.h"
#include "CSSPropertyNames.h"
#include <memory>
#include <wtf/Vector.h>
Expand All @@ -47,6 +48,7 @@ class StyleRuleKeyframe;
class StyleRule;
class StyleRuleBase;
class StyleRuleCharset;
class StyleRuleContainer;
class StyleRuleFontFace;
class StyleRuleFontPaletteValues;
class StyleRuleImport;
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/parser/CSSParserObserverWrapper.h
Expand Up @@ -30,6 +30,7 @@
#pragma once

#include "CSSParserObserver.h"
#include <wtf/Vector.h>

namespace WebCore {

Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/css/parser/CSSSupportsParser.cpp
Expand Up @@ -32,6 +32,7 @@

#include "CSSParserImpl.h"
#include "CSSSelectorParser.h"
#include "StyleRule.h"

namespace WebCore {

Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/display/css/DisplayBoxFactory.cpp
Expand Up @@ -26,6 +26,7 @@
#include "config.h"
#include "DisplayBoxFactory.h"

#include "CachedImage.h"
#include "DisplayBoxClip.h"
#include "DisplayBoxDecorationData.h"
#include "DisplayBoxDecorationPainter.h"
Expand Down
4 changes: 4 additions & 0 deletions Source/WebCore/dom/TreeScope.h
Expand Up @@ -33,6 +33,10 @@
#include <wtf/Vector.h>
#include <wtf/text/AtomString.h>

namespace JSC {
class JSValue;
}

namespace WebCore {

class CSSStyleSheet;
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/page/Page.cpp
Expand Up @@ -129,6 +129,7 @@
#include "ResourceUsageOverlay.h"
#include "SVGDocumentExtensions.h"
#include "SVGImage.h"
#include "ScreenOrientationManager.h"
#include "ScriptController.h"
#include "ScriptDisallowedScope.h"
#include "ScriptRunner.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/page/ScreenOrientation.cpp
Expand Up @@ -29,7 +29,9 @@
#include "Document.h"
#include "Event.h"
#include "EventNames.h"
#include "FrameDestructionObserverInlines.h"
#include "JSDOMPromiseDeferred.h"
#include "Page.h"
#include <wtf/IsoMallocInlines.h>

namespace WebCore {
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/page/ScreenOrientationType.h
Expand Up @@ -25,6 +25,8 @@

#pragma once

#include <wtf/EnumTraits.h>

namespace WebCore {

enum class ScreenOrientationType : uint8_t {
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/rendering/BorderPainter.cpp
Expand Up @@ -33,6 +33,7 @@
#include "GraphicsContext.h"
#include "NinePieceImage.h"
#include "PaintInfo.h"
#include "RenderBox.h"
#include "RenderTheme.h"

namespace WebCore {
Expand Down
1 change: 1 addition & 0 deletions Source/WebKit/UIProcess/ProcessThrottler.cpp
Expand Up @@ -29,6 +29,7 @@
#include "Logging.h"
#include "ProcessThrottlerClient.h"
#include <wtf/CompletionHandler.h>
#include <wtf/text/TextStream.h>

namespace WebKit {

Expand Down
Expand Up @@ -26,6 +26,7 @@
#include <WebCore/Document.h>
#include <WebCore/ElementInlines.h>
#include <WebCore/HTMLNames.h>
#include <WebCore/HTMLTableRowElement.h>
#include <WebCore/JSExecState.h>
#include "GObjectEventListener.h"
#include "WebKitDOMEventPrivate.h"
Expand Down
Expand Up @@ -26,6 +26,7 @@
#include "config.h"
#include "WebScreenOrientationManager.h"

#include "WebPage.h"
#include "WebProcess.h"
#include "WebScreenOrientationManagerMessages.h"
#include "WebScreenOrientationManagerProxyMessages.h"
Expand Down

0 comments on commit 269b3d2

Please sign in to comment.