Index: trunk/Source/core/rendering/RenderBoxModelObject.cpp |
=================================================================== |
--- trunk/Source/core/rendering/RenderBoxModelObject.cpp (revision 156736) |
+++ trunk/Source/core/rendering/RenderBoxModelObject.cpp (working copy) |
@@ -2513,10 +2513,10 @@ |
} |
// Draw only the shadow. |
- RefPtr<DrawLooper> drawLooper(new DrawLooper); |
- drawLooper->addShadow(shadowOffset, shadowBlur, shadowColor, |
+ DrawLooper drawLooper; |
+ drawLooper.addShadow(shadowOffset, shadowBlur, shadowColor, |
DrawLooper::ShadowRespectsTransforms, DrawLooper::ShadowIgnoresAlpha); |
- context->setDrawLooper(drawLooper.release()); |
+ context->setDrawLooper(drawLooper); |
if (hasBorderRadius) { |
RoundedRect influenceRect(shadowRect, border.radii()); |