Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index 3a365a5e6cc3c136be441d56d8897115986fa49f..17a03166bca364f1c9c74ccd76028d6203f764d7 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/DrawLooperBuilder.h" |
+#include "platform/graphics/DrawLooper.h" |
#include "platform/graphics/ImageBufferSurface.h" |
#include "platform/graphics/ImageOrientation.h" |
#include "platform/graphics/GraphicsContextAnnotation.h" |
@@ -314,14 +314,13 @@ |
bool hasShadow() const; |
void setShadow(const FloatSize& offset, float blur, const Color&, |
- DrawLooperBuilder::ShadowTransformMode = DrawLooperBuilder::ShadowRespectsTransforms, |
- DrawLooperBuilder::ShadowAlphaMode = DrawLooperBuilder::ShadowRespectsAlpha); |
+ DrawLooper::ShadowTransformMode = DrawLooper::ShadowRespectsTransforms, |
+ DrawLooper::ShadowAlphaMode = DrawLooper::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). |
- // The builder passed into this method will be destroyed. |
- void setDrawLooper(PassOwnPtr<DrawLooperBuilder>); |
+ void setDrawLooper(const DrawLooper&); |
void clearDrawLooper(); |
void drawFocusRing(const Vector<IntRect>&, int width, int offset, const Color&); |