Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Source/WebCore/Modules/WebGPU/GPUDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "config.h"
#include "GPUDevice.h"

#include "ContextDestructionObserverInlines.h"
#include "DOMPromiseProxy.h"
#include "EventNames.h"
#include "GPUBindGroup.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/HTMLMarqueeElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include "Attribute.h"
#include "CSSPropertyNames.h"
#include "CSSValueKeywords.h"
#include "ContainerNodeInlines.h"
#include "ElementInlines.h"
#include "HTMLNames.h"
#include "HTMLParserIdioms.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/ImageDocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "CachedImage.h"
#include "Chrome.h"
#include "ChromeClient.h"
#include "ContainerNodeInlines.h"
#include "DocumentLoader.h"
#include "EventListener.h"
#include "EventNames.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/ImageInputType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include "ImageInputType.h"

#include "CachedImage.h"
#include "ContainerNodeInlines.h"
#include "DOMFormData.h"
#include "ElementInlines.h"
#include "HTMLFormElement.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/NumberInputType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "config.h"
#include "NumberInputType.h"

#include "ContainerNodeInlines.h"
#include "Decimal.h"
#include "ElementInlines.h"
#include "HTMLInputElement.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/shadow/ProgressShadowElement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include "config.h"
#include "ProgressShadowElement.h"

#include "ContainerNodeInlines.h"
#include "HTMLNames.h"
#include "HTMLProgressElement.h"
#include "RenderProgress.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/html/shadow/TextControlInnerElements.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "CSSPrimitiveValue.h"
#include "CSSToLengthConversionData.h"
#include "CommonAtomStrings.h"
#include "ContainerNodeInlines.h"
#include "Document.h"
#include "DocumentInlines.h"
#include "EventNames.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3168,6 +3168,7 @@ Inspector::Protocol::ErrorStringOr<void> InspectorDOMAgent::setAllowEditingUserA
return { };
}

#if ENABLE(VIDEO)
static Inspector::Protocol::DOM::VideoProjectionMetadataKind videoProjectionMetadataKind(VideoProjectionMetadataKind kind)
{
switch (kind) {
Expand All @@ -3189,6 +3190,7 @@ static Inspector::Protocol::DOM::VideoProjectionMetadataKind videoProjectionMeta
ASSERT_NOT_REACHED();
return Inspector::Protocol::DOM::VideoProjectionMetadataKind::Unknown;
}
#endif

Inspector::Protocol::ErrorStringOr<Ref<Inspector::Protocol::DOM::MediaStats>> InspectorDOMAgent::getMediaStats(Inspector::Protocol::DOM::NodeId nodeId)
{
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/loader/ImageLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "CachedResourceRequest.h"
#include "Chrome.h"
#include "ChromeClient.h"
#include "ContainerNodeInlines.h"
#include "CookieJar.h"
#include "CrossOriginAccessControl.h"
#include "Document.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/loader/MixedContentChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "Quirks.h"
#include "SecurityOrigin.h"
#include <wtf/text/MakeString.h>
#include <JavaScriptCore/ConsoleTypes.h>

#if PLATFORM(IOS_FAMILY)
#include <wtf/cocoa/RuntimeApplicationChecksCocoa.h>
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/page/InteractionRegion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

#include "AccessibilityObject.h"
#include "BorderShape.h"
#include "ContainerNodeInlines.h"
#include "Document.h"
#include "ElementAncestorIteratorInlines.h"
#include "ElementInlines.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/page/Page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3023,9 +3023,11 @@ void Page::setShouldSuppressHDR(bool shouldSuppressHDR)
return;

m_shouldSuppressHDR = shouldSuppressHDR;
#if ENABLE(VIDEO)
forEachDocument([](auto& document) {
document.shouldSuppressHDRDidChange();
});
#endif
}

#if ENABLE(MEDIA_STREAM)
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/page/PageGroupLoadDeferrer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "config.h"
#include "PageGroupLoadDeferrer.h"

#include "ActiveDOMObject.h"
#include "Document.h"
#include "DocumentParser.h"
#include "LocalFrame.h"
Expand Down
2 changes: 2 additions & 0 deletions Source/WebCore/platform/MediaStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,11 @@ class WEBCORE_EXPORT MediaStrategy {
bool m_mockMediaSourceEnabled { false };
};

#if ENABLE(VIDEO)
inline void MediaStrategy::nativeImageFromVideoFrame(const VideoFrame&, CompletionHandler<void(std::optional<RefPtr<NativeImage>>&&)>&& completionHandler)
{
completionHandler(std::nullopt);
}
#endif

} // namespace WebCore
1 change: 1 addition & 0 deletions Source/WebCore/rendering/RenderListItem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "RenderListItem.h"

#include "CSSFontSelector.h"
#include "ContainerNodeInlines.h"
#include "ElementInlines.h"
#include "ElementTraversal.h"
#include "HTMLNames.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/rendering/RenderObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include "AXObjectCache.h"
#include "BoundaryPointInlines.h"
#include "ContainerNodeInlines.h"
#include "DocumentInlines.h"
#include "EditingInlines.h"
#include "Editor.h"
Expand Down
6 changes: 5 additions & 1 deletion Source/WebCore/rendering/RenderReplaced.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,11 @@ static bool shouldRepaintOnSizeChange(RenderReplaced& renderer)
{
if (is<RenderHTMLCanvas>(renderer))
return true;
if (auto* renderImage = dynamicDowncast<RenderImage>(renderer); renderImage && !is<RenderMedia>(*renderImage) && !renderImage->isShowingMissingOrImageError())
if (auto* renderImage = dynamicDowncast<RenderImage>(renderer); renderImage
#if ENABLE(VIDEO)
&& !is<RenderMedia>(*renderImage)
#endif
&& !renderImage->isShowingMissingOrImageError())
return true;
return false;
}
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/rendering/RenderTheme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include "ColorLuminance.h"
#include "ColorSerialization.h"
#include "ColorWellPart.h"
#include "ContainerNodeInlines.h"
#include "DeprecatedGlobalSettings.h"
#include "Document.h"
#include "FileList.h"
Expand Down
1 change: 1 addition & 0 deletions Source/WebCore/rendering/RenderTreeAsText.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

#include "ClipRect.h"
#include "ColorSerialization.h"
#include "ContainerNodeInlines.h"
#include "Document.h"
#include "ElementInlines.h"
#include "FrameSelection.h"
Expand Down
Loading