RenderTheme does not need to be per-page
[WebKit-https.git] / Source / WebCore / html / canvas / CanvasStyle.h
index d78030a..09ba2ff 100644 (file)
@@ -47,7 +47,7 @@ public:
     CanvasStyle(CanvasGradient&);
     CanvasStyle(CanvasPattern&);
 
-    static CanvasStyle createFromString(const String& color, Document* = nullptr);
+    static CanvasStyle createFromString(const String& color);
     static CanvasStyle createFromStringWithOverrideAlpha(const String& color, float alpha);
 
     bool isValid() const { return !WTF::holds_alternative<Invalid>(m_style); }