[Webkit-unassigned] [Bug 241023] New: REGRESSION(r294634): Fix unified build with ContentTypeUtilities.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 27 08:47:57 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241023

            Bug ID: 241023
           Summary: REGRESSION(r294634): Fix unified build with
                    ContentTypeUtilities.cpp
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: olivier.blin at softathome.com
                CC: aperez at igalia.com, eric.carlson at apple.com,
                    jer.noble at apple.com, loic.yhuel at softathome.com,
                    mcatanzaro at gnome.org

ContentTypeUtilities.cpp has been added in r294634, but it can break some unified builds because of such errors:

In file included from WebCore/DerivedSources/unified-sources/UnifiedSource-3c72abbe-22.cpp:2:
In file included from ../../Source/WebCore/platform/graphics/CrossfadeGeneratedImage.cpp:27:
In file included from ../../Source/WebCore/platform/graphics/CrossfadeGeneratedImage.h:28:
In file included from ../../Source/WebCore/platform/graphics/FloatSize.h:30:
In file included from ../../Source/WebCore/platform/graphics/IntPoint.h:28:
../../Source/WebCore/platform/graphics/IntSize.h:212:16: error: no type named 'TextStream' in namespace 'WebCore::WTF'; did you mean simply 'TextStream'?
WEBCORE_EXPORT WTF::TextStream& operator<<(WTF::TextStream&, const IntSize&);
               ^~~~~~~~~~~~~~~
               TextStream
WTF/Headers/wtf/Forward.h:160:12: note: 'TextStream' declared here
using WTF::TextStream;
           ^

This is because it can make <wtf/Forward.h> included from the WebCore namespace.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220527/1d0173c3/attachment-0001.htm>


More information about the webkit-unassigned mailing list