| Index: Source/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h
|
| index 3f1f77a46387aa78947075afe7d3c1b8c98d179e..418f9133a4665d3a5da28d1afa8e216296bd16bb 100644
|
| --- a/Source/platform/graphics/GraphicsContext.h
|
| +++ b/Source/platform/graphics/GraphicsContext.h
|
| @@ -33,7 +33,7 @@
|
| #include "platform/fonts/Font.h"
|
| #include "platform/geometry/FloatRect.h"
|
| #include "platform/graphics/DashArray.h"
|
| -#include "platform/graphics/DrawLooper.h"
|
| +#include "platform/graphics/DrawLooperBuilder.h"
|
| #include "platform/graphics/ImageBufferSurface.h"
|
| #include "platform/graphics/ImageOrientation.h"
|
| #include "platform/graphics/GraphicsContextAnnotation.h"
|
| @@ -312,13 +312,14 @@ public:
|
|
|
| bool hasShadow() const;
|
| void setShadow(const FloatSize& offset, float blur, const Color&,
|
| - DrawLooper::ShadowTransformMode = DrawLooper::ShadowRespectsTransforms,
|
| - DrawLooper::ShadowAlphaMode = DrawLooper::ShadowRespectsAlpha);
|
| + DrawLooperBuilder::ShadowTransformMode = DrawLooperBuilder::ShadowRespectsTransforms,
|
| + DrawLooperBuilder::ShadowAlphaMode = DrawLooperBuilder::ShadowRespectsAlpha);
|
| void clearShadow() { clearDrawLooper(); }
|
|
|
| // It is assumed that this draw looper is used only for shadows
|
| // (i.e. a draw looper is set if and only if there is a shadow).
|
| - void setDrawLooper(const DrawLooper&);
|
| + // The builder passed into this method will be destroyed.
|
| + void setDrawLooper(PassOwnPtr<DrawLooperBuilder>);
|
| void clearDrawLooper();
|
|
|
| void drawFocusRing(const Vector<IntRect>&, int width, int offset, const Color&);
|
|
|