Index: Source/core/html/canvas/CanvasStyle.h |
diff --git a/Source/core/html/canvas/CanvasStyle.h b/Source/core/html/canvas/CanvasStyle.h |
index 526ab716345d3091cd2347feaf20d5e91d7ab26f..f939e3e82146c8bee9a034bb2ffbd4fba2af10ec 100644 |
--- a/Source/core/html/canvas/CanvasStyle.h |
+++ b/Source/core/html/canvas/CanvasStyle.h |
@@ -36,14 +36,13 @@ namespace WebCore { |
class CanvasGradient; |
class CanvasPattern; |
- class Document; |
class GraphicsContext; |
class HTMLCanvasElement; |
class CanvasStyle : public RefCounted<CanvasStyle> { |
public: |
static PassRefPtr<CanvasStyle> createFromRGBA(RGBA32 rgba) { return adoptRef(new CanvasStyle(rgba)); } |
- static PassRefPtr<CanvasStyle> createFromString(const String& color, Document* = 0); |
+ static PassRefPtr<CanvasStyle> createFromString(const String& color); |
static PassRefPtr<CanvasStyle> createFromStringWithOverrideAlpha(const String& color, float alpha); |
static PassRefPtr<CanvasStyle> createFromGrayLevelWithAlpha(float grayLevel, float alpha) { return adoptRef(new CanvasStyle(grayLevel, alpha)); } |
static PassRefPtr<CanvasStyle> createFromRGBAChannels(float r, float g, float b, float a) { return adoptRef(new CanvasStyle(r, g, b, a)); } |