| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index 413b4e19988745ec4a7e01daf879ec726333c3ec..9a9a22cf2337bd1bb86be513c12ca4b372b36f16 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -211,20 +211,6 @@ void GraphicsContext::setInDrawingRecorder(bool val)
|
| }
|
| #endif
|
|
|
| -void GraphicsContext::setStrokePattern(PassRefPtr<Pattern> pattern, float alpha)
|
| -{
|
| - if (contextDisabled())
|
| - return;
|
| -
|
| - ASSERT(pattern);
|
| - if (!pattern) {
|
| - setStrokeColor(Color::black);
|
| - return;
|
| - }
|
| -
|
| - mutableState()->setStrokePattern(pattern, alpha);
|
| -}
|
| -
|
| void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient, float alpha)
|
| {
|
| if (contextDisabled())
|
| @@ -238,20 +224,6 @@ void GraphicsContext::setStrokeGradient(PassRefPtr<Gradient> gradient, float alp
|
| mutableState()->setStrokeGradient(gradient, alpha);
|
| }
|
|
|
| -void GraphicsContext::setFillPattern(PassRefPtr<Pattern> pattern, float alpha)
|
| -{
|
| - if (contextDisabled())
|
| - return;
|
| -
|
| - ASSERT(pattern);
|
| - if (!pattern) {
|
| - setFillColor(Color::black);
|
| - return;
|
| - }
|
| -
|
| - mutableState()->setFillPattern(pattern, alpha);
|
| -}
|
| -
|
| void GraphicsContext::setFillGradient(PassRefPtr<Gradient> gradient, float alpha)
|
| {
|
| if (contextDisabled())
|
|
|