Title: [295664] trunk/Source/WebCore/platform/graphics/ContentTypeUtilities.cpp
- Revision
- 295664
- Author
- [email protected]
- Date
- 2022-06-19 20:28:45 -0700 (Sun, 19 Jun 2022)
Log Message
Fix includes in ContentTypeUtilities.cpp
https://bugs.webkit.org/show_bug.cgi?id=241764
Reviewed by Sam Weinig.
They should be outside the namespace.
* Source/WebCore/platform/graphics/ContentTypeUtilities.cpp:
Canonical link: https://commits.webkit.org/251669@main
Modified Paths
Diff
Modified: trunk/Source/WebCore/platform/graphics/ContentTypeUtilities.cpp (295663 => 295664)
--- trunk/Source/WebCore/platform/graphics/ContentTypeUtilities.cpp 2022-06-20 01:46:52 UTC (rev 295663)
+++ trunk/Source/WebCore/platform/graphics/ContentTypeUtilities.cpp 2022-06-20 03:28:45 UTC (rev 295664)
@@ -26,11 +26,11 @@
#include "config.h"
#include "ContentTypeUtilities.h"
-namespace WebCore {
-
#include "FourCC.h"
#include <wtf/Algorithms.h>
+namespace WebCore {
+
bool contentTypeMeetsContainerAndCodecTypeRequirements(const ContentType& type, const std::optional<Vector<String>>& allowedMediaContainerTypes, const std::optional<Vector<String>>& allowedMediaCodecTypes)
{
if (allowedMediaContainerTypes && !allowedMediaContainerTypes->contains(type.containerType()))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes