Skip to content
Browse files
Fix includes in ContentTypeUtilities.cpp

Reviewed by Sam Weinig.

They should be outside the namespace.

* Source/WebCore/platform/graphics/ContentTypeUtilities.cpp:

Canonical link:
git-svn-id: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
heycam committed Jun 20, 2022
1 parent 920f01f commit 815da56
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.