⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 291734 in webkit


Ignore:
Timestamp:
Mar 22, 2022, 9:25:54 PM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Add a few more WEBCORE_EXPORT macros
​https://bugs.webkit.org/show_bug.cgi?id=238214

Patch by Alex Christensen <​achristensen@webkit.org> on 2022-03-22
Reviewed by Eric Carlson.

These are needed to successfully link when building with -fsanitize=fuzzer,address

  • dom/Document.h:
  • html/HTMLCollection.h:
  • html/HTMLOptionsCollection.h:
  • platform/Pasteboard.h:
  • platform/mediastream/mac/CoreAudioCaptureSource.h:
Location:
trunk/Source/WebCore
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r291731 r291734  
     12022-03-22  Alex Christensen  <achristensen@webkit.org>
     2
     3        Add a few more WEBCORE_EXPORT macros
     4        https://bugs.webkit.org/show_bug.cgi?id=238214
     5
     6        Reviewed by Eric Carlson.
     7
     8        These are needed to successfully link when building with -fsanitize=fuzzer,address
     9
     10        * dom/Document.h:
     11        * html/HTMLCollection.h:
     12        * html/HTMLOptionsCollection.h:
     13        * platform/Pasteboard.h:
     14        * platform/mediastream/mac/CoreAudioCaptureSource.h:
     15
    1162022-03-22  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebCore/dom/Document.h

    r291030 r291734  
    836836    void unregisterNodeListForInvalidation(LiveNodeList&);
    837837    WEBCORE_EXPORT void registerCollection(HTMLCollection&);
    838     void unregisterCollection(HTMLCollection&);
     838    WEBCORE_EXPORT void unregisterCollection(HTMLCollection&);
    839839    void collectionCachedIdNameMap(const HTMLCollection&);
    840840    void collectionWillClearIdNameMap(const HTMLCollection&);
  • trunk/Source/WebCore/html/HTMLCollection.h

    r288162 r291734  
    6262// HTMLCollection subclasses NodeList to maintain legacy ObjC API compatibility.
    6363class HTMLCollection : public NodeList {
    64     WTF_MAKE_ISO_ALLOCATED(HTMLCollection);
     64    WTF_MAKE_ISO_ALLOCATED_EXPORT(HTMLCollection, WEBCORE_EXPORT);
    6565public:
    66     virtual ~HTMLCollection();
     66    WEBCORE_EXPORT virtual ~HTMLCollection();
    6767
    6868    // DOM API
    … …  
    8282    ContainerNode& rootNode() const;
    8383    void invalidateCacheForAttribute(const QualifiedName& attributeName);
    84     virtual void invalidateCacheForDocument(Document&);
     84    WEBCORE_EXPORT virtual void invalidateCacheForDocument(Document&);
    8585    void invalidateCache() { invalidateCacheForDocument(document()); }
    8686
    … …  
    9090    HTMLCollection(ContainerNode& base, CollectionType);
    9191
    92     virtual void updateNamedElementCache() const;
     92    WEBCORE_EXPORT virtual void updateNamedElementCache() const;
    9393    WEBCORE_EXPORT Element* namedItemSlow(const AtomString& name) const;
    9494
  • trunk/Source/WebCore/html/HTMLOptionsCollection.h

    r284075 r291734  
    3131
    3232class HTMLOptionsCollection final : public CachedHTMLCollection<HTMLOptionsCollection, CollectionTypeTraits<SelectOptions>::traversalType> {
    33     WTF_MAKE_ISO_ALLOCATED(HTMLOptionsCollection);
     33    WTF_MAKE_ISO_ALLOCATED_EXPORT(HTMLOptionsCollection, WEBCORE_EXPORT);
    3434public:
    3535    using Base = CachedHTMLCollection<HTMLOptionsCollection, CollectionTypeTraits<SelectOptions>::traversalType>;
  • trunk/Source/WebCore/platform/Pasteboard.h

    r287021 r291734  
    253253    WEBCORE_EXPORT static std::unique_ptr<Pasteboard> create(const DragData&);
    254254
    255     virtual void setDragImage(DragImage, const IntPoint& hotSpot);
     255    WEBCORE_EXPORT virtual void setDragImage(DragImage, const IntPoint& hotSpot);
    256256#endif
    257257
  • trunk/Source/WebCore/platform/mediastream/mac/CoreAudioCaptureSource.h

    r291034 r291734  
    5252class CoreAudioCaptureSource : public RealtimeMediaSource {
    5353public:
    54     static CaptureSourceOrError create(String&& deviceID, String&& hashSalt, const MediaConstraints*, PageIdentifier);
     54    WEBCORE_EXPORT static CaptureSourceOrError create(String&& deviceID, String&& hashSalt, const MediaConstraints*, PageIdentifier);
    5555    static CaptureSourceOrError createForTesting(String&& deviceID, String&& label, String&& hashSalt, const MediaConstraints*, BaseAudioSharedUnit& overrideUnit, PageIdentifier);
    5656
Note: See TracChangeset for help on using the changeset viewer.