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

Changeset 294389 in webkit


Ignore:
Timestamp:
May 18, 2022, 4:23:11 AM (4 years ago)
Author:
commit-queue@webkit.org
Message:

ENABLE_LAYER_BASED_SVG_ENGINE needs to match for iOS and macOS
​https://bugs.webkit.org/show_bug.cgi?id=239877
<rdar://problem/92829309>

Patch by Nikolas Zimmermann <​nzimmermann@igalia.com> on 2022-05-18
Reviewed by Simon Fraser.

Switch on ENABLE_LAYER_BASED_SVG_ENGINE for all Cocoa based platforms.

This only works after fixing one build issue:
hasTransform() now needs hasSVGTransform(), when in turn uses rareData(), which
is not exported by WebCore at present breaking tvOS/watchOS/iOS builds, fix that.

Covered by existing tests, no change in behaviour.

  • Source/WTF/wtf/PlatformEnableCocoa.h:
  • Source/WebCore/rendering/RenderObject.h:
Location:
trunk/Source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/wtf/PlatformEnableCocoa.h

    r294272 r294389  
    341341#endif
    342342
    343 #if !defined(ENABLE_LAYER_BASED_SVG_ENGINE) && PLATFORM(MAC)
     343#if !defined(ENABLE_LAYER_BASED_SVG_ENGINE)
    344344#define ENABLE_LAYER_BASED_SVG_ENGINE 1
    345345#endif
  • trunk/Source/WebCore/rendering/RenderObject.h

    r293900 r294389  
    976976    };
    977977   
    978     const RenderObject::RenderObjectRareData& rareData() const;
     978    WEBCORE_EXPORT const RenderObject::RenderObjectRareData& rareData() const;
    979979    RenderObjectRareData& ensureRareData();
    980980    void removeRareData();
Note: See TracChangeset for help on using the changeset viewer.