Skip to content

Commit 71b4344

Browse files
committed
RenderSVGResourceMasker.h should only be used with LAYER_BASED_SVG_ENGINE
1 parent 0178a53 commit 71b4344

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/WebCore/rendering/svg/RenderSVGResourceMasker.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
#pragma once
2222

23+
#if ENABLE(LAYER_BASED_SVG_ENGINE)
24+
2325
#include "RenderSVGResourceContainer.h"
2426
#include "SVGUnitTypes.h"
2527

@@ -54,3 +56,5 @@ class RenderSVGResourceMasker final : public RenderSVGResourceContainer {
5456
}
5557

5658
SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderSVGResourceMasker, isRenderSVGResourceMasker())
59+
60+
#endif // ENABLE(LAYER_BASED_SVG_ENGINE)

0 commit comments

Comments
 (0)