Skip to content
Permalink
Browse files
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
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
heycam committed Jun 20, 2022
1 parent 920f01f commit 815da5620749925fef0b4b9ff5663a9758d00064
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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()))

0 comments on commit 815da56

Please sign in to comment.