Improve use of NeverDestroyed
[WebKit-https.git] / Source / WebCore / rendering / RenderThemeIOS.h
index b507e37..d15243d 100644 (file)
@@ -33,11 +33,12 @@ namespace WebCore {
     
 class RenderStyle;
 class GraphicsContext;
+
 struct AttachmentLayout;
 
 class RenderThemeIOS final : public RenderThemeCocoa {
 public:
-    static Ref<RenderTheme> create();
+    friend NeverDestroyed<RenderThemeIOS>;
 
     static void adjustRoundBorderRadius(RenderStyle&, RenderBox&);